commit | 0cb2bbbea0857c5c76db4cae85343553a882c0de | [log] [tgz] |
---|---|---|
author | Lee Jones <lee.jones@linaro.org> | Sat Nov 03 23:02:30 2012 +0100 |
committer | David S. Miller <davem@davemloft.net> | Sun Nov 04 01:59:29 2012 -0400 |
tree | 8dde01088d642a45a621453a34fdc2165e369678 | |
parent | f7c3f96a41f16865e6422bfb919312a716b16552 [diff] |
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 <shemminger@vyatta.com> Cc: bridge@lists.linux-foundation.org Cc: netdev@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>