Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 44c0186d authored by Wei Yongjun's avatar Wei Yongjun Committed by Greg Kroah-Hartman
Browse files

Staging: netlogic: remove unused variable in xlr_net_start_xmit()



The variable 'qmap' is initialized but never used
otherwise, so remove the unused variable.

Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c2a10d70
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);