summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorIvan Vecera <ivecera@redhat.com>2013-04-11 04:29:11 +0000
committerDavid S. Miller <davem@davemloft.net>2013-04-11 16:21:57 -0400
commitf9725c039720c3b64a274dbbbd22868b4a274cd2 (patch)
tree10978a9ad716b6bb16d90ef95acd67e9a14da1db /drivers/net
parent09bf1c1072a94468760f7e2bf945512d53522b07 (diff)
downloadblackbird-op-linux-f9725c039720c3b64a274dbbbd22868b4a274cd2.tar.gz
blackbird-op-linux-f9725c039720c3b64a274dbbbd22868b4a274cd2.zip
be2net: remove unused variable 'sge'
Signed-off-by: Ivan Vecera <ivecera@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/emulex/benet/be_cmds.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_cmds.c b/drivers/net/ethernet/emulex/benet/be_cmds.c
index f286ad2da1ff..cf9408f574af 100644
--- 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,
OpenPOWER on IntegriCloud