aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/benet/be_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/benet/be_main.c')
-rw-r--r--drivers/net/benet/be_main.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c
index 7c9b57eb780e..43e8032f9236 100644
--- a/drivers/net/benet/be_main.c
+++ b/drivers/net/benet/be_main.c
@@ -1993,16 +1993,7 @@ int be_load_fw(struct be_adapter *adapter, u8 *func)
1993 struct be_dma_mem flash_cmd; 1993 struct be_dma_mem flash_cmd;
1994 int status, i = 0; 1994 int status, i = 0;
1995 const u8 *p; 1995 const u8 *p;
1996 char fw_ver[FW_VER_LEN];
1997 char fw_cfg;
1998 1996
1999 status = be_cmd_get_fw_ver(adapter, fw_ver);
2000 if (status)
2001 return status;
2002
2003 fw_cfg = *(fw_ver + 2);
2004 if (fw_cfg == '0')
2005 fw_cfg = '1';
2006 strcpy(fw_file, func); 1997 strcpy(fw_file, func);
2007 1998
2008 status = request_firmware(&fw, fw_file, &adapter->pdev->dev); 1999 status = request_firmware(&fw, fw_file, &adapter->pdev->dev);