1
0
Fork 0
alistair23-linux/drivers/net/ethernet/cavium/thunder
Colin Ian King a95157d72d net: thunderx: remove a couple of redundant assignments
The assignment to pointer msg is redundant as it is never read, so
remove msg.  Also remove the first assignment to qset as this is not
read before the next re-assignment of a new value to qset in the
for-loop. Cleans up two clang warnings:

drivers/net/ethernet/cavium/thunder/nic_main.c:589:2: warning: Value
stored to 'msg' is never read
drivers/net/ethernet/cavium/thunder/nic_main.c:611:2: warning: Value
stored to 'qset' is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-11-01 21:29:08 +09:00
..
Makefile net: thunderx: Add RGMII interface type support 2016-08-13 11:59:31 -07:00
nic.h net: thunderx: Add basic XDP support 2017-05-02 15:41:21 -04:00
nic_main.c net: thunderx: remove a couple of redundant assignments 2017-11-01 21:29:08 +09:00
nic_reg.h net: thunderx: Program LMAC credits based on MTU 2016-11-16 13:28:33 -05:00
nicvf_ethtool.c net: thunderx: Add basic XDP support 2017-05-02 15:41:21 -04:00
nicvf_main.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-10-09 20:11:09 -07:00
nicvf_queues.c cavium: thunder: Remove duplicate "netdev->name" logging output 2017-06-29 12:25:33 -04:00
nicvf_queues.h net: define the TSO header size in net/tso.h 2017-08-23 20:42:09 -07:00
q_struct.h net: thunderx: Optimize RBDR descriptor handling 2017-05-02 15:41:20 -04:00
thunder_bgx.c net: thunderx: Fix BGX transmit stall due to underflow 2017-07-29 14:17:07 -07:00
thunder_bgx.h net: thunderx: Fix BGX transmit stall due to underflow 2017-07-29 14:17:07 -07:00
thunder_xcv.c net: thunderx: avoid dereferencing xcv when NULL 2017-01-31 13:07:40 -05:00