]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
atl1c: remove redundant assignment to variable tpd_req
authorColin Ian King <colin.king@canonical.com>
Wed, 3 Jul 2019 07:53:58 +0000 (08:53 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Jul 2019 18:32:39 +0000 (11:32 -0700)
commitb70d846cf446f71eda352be46a94e330e3255406
tree0358a6e547886e9c4ae8bb208c83d72f137c38e7
parentcedeac9df4b8386bc96b589d91e4f40e0b4b441b
atl1c: remove redundant assignment to variable tpd_req

The variable tpd_req is being initialized with a value that is never
read and it is being updated later with a new value. The
initialization is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/atl1c/atl1c_main.c