net/benet: Make lancer_wait_ready() static
authorGavin Shan <shangw@linux.vnet.ibm.com>
Tue, 29 Oct 2013 09:30:57 +0000 (17:30 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Oct 2013 21:50:17 +0000 (17:50 -0400)
The function needn't to be public, so to make it as static.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_cmds.c
drivers/net/ethernet/emulex/benet/be_cmds.h

index 2d554366b3429547687a861fcaaa8df99e6529fe..7fb0edfe3d2482514f32f48afef1a5a1c46e9805 100644 (file)
@@ -522,7 +522,7 @@ static u16 be_POST_stage_get(struct be_adapter *adapter)
        return sem & POST_STAGE_MASK;
 }
 
-int lancer_wait_ready(struct be_adapter *adapter)
+static int lancer_wait_ready(struct be_adapter *adapter)
 {
 #define SLIPORT_READY_TIMEOUT 30
        u32 sliport_status;
index 88708372d5e5e1d922e3690e71fdc1bce3686e78..edf3e8a0ff839c069bc05154f85c1e68e89544f2 100644 (file)
@@ -2053,7 +2053,6 @@ int be_cmd_get_ext_fat_capabilites(struct be_adapter *adapter,
 int be_cmd_set_ext_fat_capabilites(struct be_adapter *adapter,
                                   struct be_dma_mem *cmd,
                                   struct be_fat_conf_params *cfgs);
-int lancer_wait_ready(struct be_adapter *adapter);
 int lancer_physdev_ctrl(struct be_adapter *adapter, u32 mask);
 int lancer_initiate_dump(struct be_adapter *adapter);
 bool dump_present(struct be_adapter *adapter);