summaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorLuo Jiaxing <luojiaxing@huawei.com>2020-09-12 11:08:15 +0300
committerDavid S. Miller <davem@davemloft.net>2020-09-13 04:21:56 +0300
commite5e252ba21d243689a8e8bf2af5bf5579dabfea7 (patch)
tree684ca65742253f31a3b8ca188a09f9f5e6e33053 /include/linux/fpga/fpga-mgr.h
parent1623ad8ec04c771a54975fb84b22bc21c2dbcac1 (diff)
downloadlinux-e5e252ba21d243689a8e8bf2af5bf5579dabfea7.tar.xz
net: ethernet: mlx4: Avoid assigning a value to ring_cons but not used it anymore in mlx4_en_xmit()
We found a set but not used variable 'ring_cons' in mlx4_en_xmit(), it will cause a warning when build the kernel. And after checking the commit record of this function, we found that it was introduced by a previous patch. So, We delete this redundant assignment code. Fixes: 488a9b48e398 ("net/mlx4_en: Wake TX queues only when there's enough room") Signed-off-by: Luo Jiaxing <luojiaxing@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions