bnx2x: Remove sparse and coccinelle warnings
authorYuval Mintz <yuvalmin@broadcom.com>
Tue, 25 Jun 2013 05:50:11 +0000 (08:50 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Jun 2013 09:46:05 +0000 (02:46 -0700)
commitc957d09ffda417f6c8e3d1f10e2b05228607d6d7
tree5405eaf7d2a04a52e4f71384959f42ecbc281a5c
parent6da334ee0c101fc5ecf62f2b1e11b1524be7b159
bnx2x: Remove sparse and coccinelle warnings

This patch solves several sparse issues as well as an unneeded semicolon
found via coccinelle.

Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c