aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorLee Jones <[email protected]>2020-11-02 11:44:43 +0000
committerJakub Kicinski <[email protected]>2020-11-03 16:30:15 -0800
commit918895bf6166f806574c983d92ccd25edde1bae4 (patch)
tree847bbb1ac14f70635606ebe417756de8a40d41f2 /tools/perf/scripts/python/net_dropmonitor.py
parent626d667b19608c64d86cd71e6ecaa9ddc8650361 (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions