opnsense-src/sys/dev/mfi
Dimitry Andric 3dbe05f61b Suppress unused variable warning in mfi.c
With clang 15, the following -Werror warnings are produced:

    sys/dev/mfi/mfi.c:3698:6: error: variable 'timedout' set but not used [-Werror,-Wunused-but-set-variable]
            int timedout;
                ^
    sys/dev/mfi/mfi.c:3742:6: error: variable 'timedout' set but not used [-Werror,-Wunused-but-set-variable]
            int timedout = 0;
                ^

Here, 'timedout' are variables that are only used when debugging,
requiring #if 0 statements to be modified. Mark the variables as
potentially unused, to suppress the warnings.

MFC after:	3 days
2022-07-20 17:13:49 +02:00
..
mfi.c Suppress unused variable warning in mfi.c 2022-07-20 17:13:49 +02:00
mfi_cam.c mfi: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:39:31 -07:00
mfi_debug.c
mfi_disk.c kerneldump: remove physical argument from d_dumper 2022-05-13 10:42:48 -03:00
mfi_ioctl.h
mfi_linux.c
mfi_pci.c mfi: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:39:31 -07:00
mfi_syspd.c kerneldump: remove physical argument from d_dumper 2022-05-13 10:42:48 -03:00
mfi_tbolt.c
mfireg.h
mfivar.h