projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09bf1c1
)
be2net: remove unused variable 'sge'
author
Ivan Vecera
<ivecera@redhat.com>
Thu, 11 Apr 2013 04:29:11 +0000
(
04:29
+0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 11 Apr 2013 20:21:57 +0000
(16:21 -0400)
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_cmds.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/emulex/benet/be_cmds.c
b/drivers/net/ethernet/emulex/benet/be_cmds.c
index f286ad2da1ff283dffba78c6db00630cefe3d534..cf9408f574afb3566d3f27d25348dea47258b968 100644
(file)
--- a/
drivers/net/ethernet/emulex/benet/be_cmds.c
+++ b/
drivers/net/ethernet/emulex/benet/be_cmds.c
@@
-2343,7
+2343,6
@@
int be_cmd_get_seeprom_data(struct be_adapter *adapter,
{
struct be_mcc_wrb *wrb;
struct be_cmd_req_seeprom_read *req;
- struct be_sge *sge;
int status;
spin_lock_bh(&adapter->mcc_lock);
@@
-2354,7
+2353,6
@@
int be_cmd_get_seeprom_data(struct be_adapter *adapter,
goto err;
}
req = nonemb_cmd->va;
- sge = nonembedded_sgl(wrb);
be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON,
OPCODE_COMMON_SEEPROM_READ, sizeof(*req), wrb,