]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
qlge: remove duplicated assignment to mbcp
authorColin Ian King <colin.king@canonical.com>
Thu, 9 Nov 2017 07:52:15 +0000 (07:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Nov 2017 10:13:39 +0000 (19:13 +0900)
commit98b07e3ed019cbea5ad049df3892957d5fa90b9e
tree445894095c4ac29bcb8951182bf3c25ef1b17b51
parenta3e2ecbae0198e4cb9a63db5ac3131cbd58ec2b2
qlge: remove duplicated assignment to mbcp

The assignment to mbcp is identical to the initiatialized value assigned
to mbcp at declaration time a few lines earlier, hence we can remove the
second redundant assignment.  Cleans up clang warning:

drivers/net/ethernet/qlogic/qlge/qlge_mpi.c:209:22: warning:
Value stored to 'mbcp' during its initialization is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlge/qlge_mpi.c