Commit 87f20c26 authored by Gavin Shan's avatar Gavin Shan Committed by David S. Miller

net/benet: Make lancer_wait_ready() static

The function needn't to be public, so to make it as static.
Signed-off-by: default avatarGavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 547e2dae
...@@ -522,7 +522,7 @@ static u16 be_POST_stage_get(struct be_adapter *adapter) ...@@ -522,7 +522,7 @@ static u16 be_POST_stage_get(struct be_adapter *adapter)
return sem & POST_STAGE_MASK; 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 #define SLIPORT_READY_TIMEOUT 30
u32 sliport_status; u32 sliport_status;
......
...@@ -2053,7 +2053,6 @@ int be_cmd_get_ext_fat_capabilites(struct be_adapter *adapter, ...@@ -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, int be_cmd_set_ext_fat_capabilites(struct be_adapter *adapter,
struct be_dma_mem *cmd, struct be_dma_mem *cmd,
struct be_fat_conf_params *cfgs); 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_physdev_ctrl(struct be_adapter *adapter, u32 mask);
int lancer_initiate_dump(struct be_adapter *adapter); int lancer_initiate_dump(struct be_adapter *adapter);
bool dump_present(struct be_adapter *adapter); bool dump_present(struct be_adapter *adapter);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment