linux/drivers/net/fddi
Lee Jones 918895bf61 net: fddi: skfp: ecm: Protect 'if' when AIX_EVENT is not defined
When AIX_EVENT is not defined, the 'if' body will be empty, which
makes GCC complain.  Place bracketing around the invocation to protect
it.

Fixes the following W=1 kernel build warning(s):

 drivers/net/fddi/skfp/ecm.c: In function ‘ecm_fsm’:
 drivers/net/fddi/skfp/ecm.c:153:29: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20201102114512.1062724-2-lee.jones@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-11-03 16:30:15 -08:00
..
skfp net: fddi: skfp: ecm: Protect 'if' when AIX_EVENT is not defined 2020-11-03 16:30:15 -08:00
defxx.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
defxx.h
defza.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
defza.h FDDI: defza: Add missing comment closing 2018-11-07 21:53:30 -08:00
Kconfig docs: networking: move FDDI drivers to the hw driver section 2020-06-26 16:08:45 -07:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00