projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa7479c
)
be2net: Kill set but unused variable 'req' in lancer_fw_download()
author
David S. Miller
<davem@davemloft.net>
Thu, 19 May 2011 22:49:54 +0000
(18:49 -0400)
committer
David S. Miller
<davem@davemloft.net>
Thu, 19 May 2011 22:49:54 +0000
(18:49 -0400)
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/benet/be_main.c
b/drivers/net/benet/be_main.c
index ce6edac007a7ac63cdb4835a2071476ad3351ba6..4b5e0ed49ed85bafa458edc577ab64844e1df884 100644
(file)
--- a/
drivers/net/benet/be_main.c
+++ b/
drivers/net/benet/be_main.c
@@
-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;
@@
-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;