freebsd-dev/sys/dev/firewire
Dimitry Andric d7e0d962f3 Fix unused variable warning in fwohci.c
With clang 15, the following -Werror warning is produced:

    sys/dev/firewire/fwohci.c:2762:23: error: variable 'pcnt' set but not used [-Werror,-Wunused-but-set-variable]
            int len, plen, hlen, pcnt, offset;
                                 ^

The 'pcnt' variable is eventually used only in an #if 0'd block,
obviously meant for debugging. Ensure that 'pcnt' is only declared and
used when COUNT_PACKETS is defined, so the debugging can be easily
turned on later, if desired.

MFC after:	3 days
2022-07-21 21:05:50 +02:00
..
00README
firewire_phy.h
firewire.c firewire: Initialize firewire_devclass in fw_modevent. 2022-04-27 12:26:05 -07:00
firewire.h
firewirereg.h
fwcrom.c
fwdev.c
fwdma.c
fwdma.h
fwmem.c
fwmem.h
fwohci_pci.c firewire: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 12:22:01 -07:00
fwohci.c Fix unused variable warning in fwohci.c 2022-07-21 21:05:50 +02:00
fwohcireg.h
fwohcivar.h
fwphyreg.h
iec13213.h
iec68113.h
if_fwe.c firewire: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 12:22:01 -07:00
if_fwevar.h
if_fwip.c firewire: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 12:22:01 -07:00
if_fwipvar.h
sbp_targ.c firewire: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 12:22:01 -07:00
sbp.c firewire: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 12:22:01 -07:00
sbp.h firewire(4): Fix a typo in a source code comment 2021-11-19 19:50:56 +01:00