Skip to content

Commit

Permalink
Staging: netlogic: remove unused variable in xlr_net_start_xmit()
Browse files Browse the repository at this point in the history
The variable 'qmap' is initialized but never used
otherwise, so remove the unused variable.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Wei Yongjun authored and Greg Kroah-Hartman committed Mar 14, 2013
1 parent c2a10d7 commit 44c0186
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/staging/netlogic/xlr_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -293,10 +293,8 @@ static netdev_tx_t xlr_net_start_xmit(struct sk_buff *skb,
struct nlm_fmn_msg msg;
struct xlr_net_priv *priv = netdev_priv(ndev);
int ret;
u16 qmap;
u32 flags;

qmap = skb->queue_mapping;
xlr_make_tx_desc(&msg, virt_to_phys(skb->data), skb);
flags = nlm_cop2_enable();
ret = nlm_fmn_send(2, 0, priv->nd->tx_stnid, &msg);
Expand Down

0 comments on commit 44c0186

Please sign in to comment.