Skip to content

Commit

Permalink
be2net: Kill set but unused variable 'req' in lancer_fw_download()
Browse files Browse the repository at this point in the history
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed May 19, 2011
1 parent fa7479c commit 6372296
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/benet/be_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2736,7 +2736,6 @@ static int lancer_fw_download(struct be_adapter *adapter,
#define LANCER_FW_DOWNLOAD_CHUNK (32 * 1024)
#define LANCER_FW_DOWNLOAD_LOCATION "/prg"
struct be_dma_mem flash_cmd;
struct lancer_cmd_req_write_object *req;
const u8 *data_ptr = NULL;
u8 *dest_image_ptr = NULL;
size_t image_size = 0;
Expand Down Expand Up @@ -2765,7 +2764,6 @@ static int lancer_fw_download(struct be_adapter *adapter,
goto lancer_fw_exit;
}

req = flash_cmd.va;
dest_image_ptr = flash_cmd.va +
sizeof(struct lancer_cmd_req_write_object);
image_size = fw->size;
Expand Down

0 comments on commit 6372296

Please sign in to comment.