diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-10-21 03:50:56 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-24 18:07:13 -0400 |
commit | 8d96286ae13a0bf4ec04341c9b25694adff38623 (patch) | |
tree | 02705da0cd961cf6c8505cf080c923578bf783a1 /drivers/net/bnx2x/bnx2x.h | |
parent | fa274cb7e56555e7017050e922b4f14637baa023 (diff) |
bnx2x: make local function static and remove dead code
Make many functions that are only used in one file static.
Remove dead code for override_led_value.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x/bnx2x.h')
-rw-r--r-- | drivers/net/bnx2x/bnx2x.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/bnx2x/bnx2x.h b/drivers/net/bnx2x/bnx2x.h index 9571ecf48f35..9eea225decaf 100644 --- a/drivers/net/bnx2x/bnx2x.h +++ b/drivers/net/bnx2x/bnx2x.h | |||
@@ -1288,15 +1288,11 @@ struct bnx2x_func_init_params { | |||
1288 | 1288 | ||
1289 | #define WAIT_RAMROD_POLL 0x01 | 1289 | #define WAIT_RAMROD_POLL 0x01 |
1290 | #define WAIT_RAMROD_COMMON 0x02 | 1290 | #define WAIT_RAMROD_COMMON 0x02 |
1291 | int bnx2x_wait_ramrod(struct bnx2x *bp, int state, int idx, | ||
1292 | int *state_p, int flags); | ||
1293 | 1291 | ||
1294 | /* dmae */ | 1292 | /* dmae */ |
1295 | void bnx2x_read_dmae(struct bnx2x *bp, u32 src_addr, u32 len32); | 1293 | void bnx2x_read_dmae(struct bnx2x *bp, u32 src_addr, u32 len32); |
1296 | void bnx2x_write_dmae(struct bnx2x *bp, dma_addr_t dma_addr, u32 dst_addr, | 1294 | void bnx2x_write_dmae(struct bnx2x *bp, dma_addr_t dma_addr, u32 dst_addr, |
1297 | u32 len32); | 1295 | u32 len32); |
1298 | void bnx2x_write_dmae_phys_len(struct bnx2x *bp, dma_addr_t phys_addr, | ||
1299 | u32 addr, u32 len); | ||
1300 | void bnx2x_post_dmae(struct bnx2x *bp, struct dmae_command *dmae, int idx); | 1296 | void bnx2x_post_dmae(struct bnx2x *bp, struct dmae_command *dmae, int idx); |
1301 | u32 bnx2x_dmae_opcode_add_comp(u32 opcode, u8 comp_type); | 1297 | u32 bnx2x_dmae_opcode_add_comp(u32 opcode, u8 comp_type); |
1302 | u32 bnx2x_dmae_opcode_clr_src_reset(u32 opcode); | 1298 | u32 bnx2x_dmae_opcode_clr_src_reset(u32 opcode); |
@@ -1307,7 +1303,6 @@ int bnx2x_get_gpio(struct bnx2x *bp, int gpio_num, u8 port); | |||
1307 | int bnx2x_set_gpio(struct bnx2x *bp, int gpio_num, u32 mode, u8 port); | 1303 | int bnx2x_set_gpio(struct bnx2x *bp, int gpio_num, u32 mode, u8 port); |
1308 | int bnx2x_set_gpio_int(struct bnx2x *bp, int gpio_num, u32 mode, u8 port); | 1304 | int bnx2x_set_gpio_int(struct bnx2x *bp, int gpio_num, u32 mode, u8 port); |
1309 | u32 bnx2x_fw_command(struct bnx2x *bp, u32 command, u32 param); | 1305 | u32 bnx2x_fw_command(struct bnx2x *bp, u32 command, u32 param); |
1310 | void bnx2x_reg_wr_ind(struct bnx2x *bp, u32 addr, u32 val); | ||
1311 | 1306 | ||
1312 | void bnx2x_calc_fc_adv(struct bnx2x *bp); | 1307 | void bnx2x_calc_fc_adv(struct bnx2x *bp); |
1313 | int bnx2x_sp_post(struct bnx2x *bp, int command, int cid, | 1308 | int bnx2x_sp_post(struct bnx2x *bp, int command, int cid, |