aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-05-26 00:47:39 -0400
committerDavid S. Miller <davem@davemloft.net>2010-05-29 03:18:49 -0400
commitc196b02ce60d7b1f9bc62a62c5706d4d58fbfc5a (patch)
treef5956ef3ea6e964f2fa8311ca8026a93c4164d29 /drivers
parent2892d9c2d925e0d72a7a529852942e2592a970f8 (diff)
be2net: remove superfluous externs
This fixes some sparse warnings: drivers/net/benet/be_cmds.c:1503:12: warning: function 'be_cmd_enable_magic_wol' with external linkage has definition drivers/net/benet/be_cmds.c:1668:12: warning: function 'be_cmd_get_seeprom_data' with external linkage has definition Signed-off-by: Dan Carpenter <error27@gmail.com> Acked-by: Sarveshwar Bandi <sarveshwarb@serverengines.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/benet/be_cmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/benet/be_cmds.c b/drivers/net/benet/be_cmds.c
index a4a9cf762441..9e305d7fb4bd 100644
--- a/drivers/net/benet/be_cmds.c
+++ b/drivers/net/benet/be_cmds.c
@@ -1500,7 +1500,7 @@ err:
1500 return status; 1500 return status;
1501} 1501}
1502 1502
1503extern int be_cmd_enable_magic_wol(struct be_adapter *adapter, u8 *mac, 1503int be_cmd_enable_magic_wol(struct be_adapter *adapter, u8 *mac,
1504 struct be_dma_mem *nonemb_cmd) 1504 struct be_dma_mem *nonemb_cmd)
1505{ 1505{
1506 struct be_mcc_wrb *wrb; 1506 struct be_mcc_wrb *wrb;
@@ -1665,7 +1665,7 @@ err:
1665 return status; 1665 return status;
1666} 1666}
1667 1667
1668extern int be_cmd_get_seeprom_data(struct be_adapter *adapter, 1668int be_cmd_get_seeprom_data(struct be_adapter *adapter,
1669 struct be_dma_mem *nonemb_cmd) 1669 struct be_dma_mem *nonemb_cmd)
1670{ 1670{
1671 struct be_mcc_wrb *wrb; 1671 struct be_mcc_wrb *wrb;