diff options
author | Wang Sheng-Hui <shhuiw@gmail.com> | 2013-07-24 14:53:26 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-07-26 13:53:49 -0700 |
commit | f52809483caceaf83bd2c7915a35ace3b6e7b0ef (patch) | |
tree | 5083d205c337825a85051872e6cb6cba574d7c15 /net/bridge/br_private.h | |
parent | 9025c8e253369d324111c041032018955b80dd55 (diff) | |
download | blackbird-op-linux-f52809483caceaf83bd2c7915a35ace3b6e7b0ef.tar.gz blackbird-op-linux-f52809483caceaf83bd2c7915a35ace3b6e7b0ef.zip |
bonding: use pre-defined macro in bond_mode_name instead of magic number 0
We have BOND_MODE_ROUNDROBIN pre-defined as 0, and it's the lowest
mode number.
Use it to check the arg lower bound instead of magic number 0 in
bond_mode_name.
Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_private.h')
0 files changed, 0 insertions, 0 deletions