gpio tca6416: Remove unused variable.

This commit is contained in:
John Baldwin 2022-04-13 16:08:22 -07:00
parent ead64e8454
commit 0a4089c734

View file

@ -505,14 +505,11 @@ tca6416_regdump_sysctl(SYSCTL_HANDLER_ARGS)
{
device_t dev;
char buf[5];
struct tca6416_softc *sc;
int len, error;
uint8_t reg, regval;
dev = (device_t)arg1;
reg = (uint8_t)arg2;
sc = device_get_softc(dev);
error = tca6416_read(dev, reg, &regval);
if (error != 0) {