diff options
author | David S. Miller <davem@davemloft.net> | 2012-09-28 00:31:58 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-09-28 00:31:58 +0200 |
commit | e905ed57baa82e15ce9c158a8f1e81f171042504 (patch) | |
tree | 814ac070f202fc4b81d0f3340a3bde194d8931f6 /net/sched/sch_drr.c | |
parent | nf_defrag_ipv6: fix oops on module unloading (diff) | |
download | linux-e905ed57baa82e15ce9c158a8f1e81f171042504.tar.xz linux-e905ed57baa82e15ce9c158a8f1e81f171042504.zip |
bna: Fix warning false positive.
GCC can't see that in all non-error-return paths we do in fact
set *using_dac to something.
Add an explicit initialization to remove this warning:
drivers/net/ethernet/brocade/bna/bnad.c: In function ‘bnad_pci_probe’:
drivers/net/ethernet/brocade/bna/bnad.c:3079:5: warning: ‘using_dac’ may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/net/ethernet/brocade/bna/bnad.c:3233:7: note: ‘using_dac’ was declared here
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_drr.c')
0 files changed, 0 insertions, 0 deletions