diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2009-11-02 23:17:42 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-04 05:06:26 -0800 |
commit | c7079857cd89cb5bc686df1d441db8ef0137abf1 (patch) | |
tree | b3bad0d98018485e092b26d488d1f49271cc5a47 /net/sched/em_meta.c | |
parent | fd2c3ef761fbc5e6c27fa7d40b30cda06bfcd7d8 (diff) | |
download | op-kernel-dev-c7079857cd89cb5bc686df1d441db8ef0137abf1.zip op-kernel-dev-c7079857cd89cb5bc686df1d441db8ef0137abf1.tar.gz |
bnx2: avoid compiler warnings
drivers/net/bnx2.c: In function ‘bnx2_enable_forced_2g5’:
drivers/net/bnx2.c:1447: warning: ‘bmcr’ may be used uninitialized in this function
drivers/net/bnx2.c: In function ‘bnx2_disable_forced_2g5’:
drivers/net/bnx2.c:1482: warning: ‘bmcr’ may be used uninitialized in this function
One fix would be to have an initial value, but a plain return might be better.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/em_meta.c')
0 files changed, 0 insertions, 0 deletions