bnx2: Fix Sparse warnings
authorBenjamin Li <benli@broadcom.com>
Sat, 19 Jul 2008 00:57:26 +0000 (17:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Jul 2008 00:57:26 +0000 (17:57 -0700)
commit8a31329eae0949a8a73b64fcead84bb44a350591
treea3ce86d058bc518d991876e8e569b9d394e957d4
parent706bf24038ba88ec77503b4829b16da712a32f04
bnx2: Fix Sparse warnings

This patch will fix the following sparse warnings:

/home/benli/sparse/bnx2.c:297:8: warning: symbol 'val' shadows an earlier one
/home/benli/sparse/bnx2.c:286:60: originally declared here
/home/benli/sparse/bnx2.c:7461:7: warning: symbol 'i' shadows an earlier one
/home/benli/sparse/bnx2.c:7265:10: originally declared here

Signed-off-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2.c