bridge: Avoid 'statement with no effect' compiler warnings
authorLee Jones <[email protected]>
Sat, 3 Nov 2012 22:02:30 +0000 (23:02 +0100)
committerDavid S. Miller <[email protected]>
Sun, 4 Nov 2012 05:59:29 +0000 (01:59 -0400)
commit0cb2bbbea0857c5c76db4cae85343553a882c0de
tree8dde01088d642a45a621453a34fdc2165e369678
parentf7c3f96a41f16865e6422bfb919312a716b16552
bridge: Avoid 'statement with no effect' compiler warnings

Instead of issuing (0) statements when !CONFIG_SYSFS which will cause
'warning: ', we'll use inline statements instead. This will effectively
do the same thing, but suppress any unnecessary warnings.

Cc: Stephen Hemminger <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Lee Jones <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/bridge/br_private.h