mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
gpio tca6416: Remove unused variable.
This commit is contained in:
parent
ead64e8454
commit
0a4089c734
1 changed files with 0 additions and 3 deletions
|
|
@ -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, ®val);
|
||||
if (error != 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue