diff options
author | Yuval Mintz <yuvalmin@broadcom.com> | 2013-06-02 00:06:19 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-02 21:36:47 -0700 |
commit | 3cdeec22e40264e40d34d8242b4ce7461329a80a (patch) | |
tree | 678360c1f1929126936d4d7a839b89f22353acf8 /drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | |
parent | 16a5fd9265e757121bb5f1b9ad757836f370e76c (diff) | |
download | linux-3cdeec22e40264e40d34d8242b4ce7461329a80a.tar.gz linux-3cdeec22e40264e40d34d8242b4ce7461329a80a.tar.bz2 linux-3cdeec22e40264e40d34d8242b4ce7461329a80a.zip |
bnx2x: Semantic removal and beautification
This patch introduces several small changes to the driver, none which actually
change any flow:
1. Removes prototypes of unexisting functions and unused defines.
2. Fixes alignment and spacing issues.
3. Changes numeric usage into constants.
4. Remove unnecessary parenthesis.
Signed-off-by: Yuval Mintz <yuvalmin@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>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h index 4a643d7b9b22..68fefa8d97a5 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h @@ -493,9 +493,6 @@ void bnx2x_update_max_mf_config(struct bnx2x *bp, u32 value); /* Error handling */ void bnx2x_fw_dump_lvl(struct bnx2x *bp, const char *lvl); -/* validate currect fw is loaded */ -bool bnx2x_test_firmware_version(struct bnx2x *bp, bool is_err); - /* dev_close main block */ int bnx2x_nic_unload(struct bnx2x *bp, int unload_mode, bool keep_link); |