net: usb: qmi_wwan: remove redundant assignment to variable status
authorColin Ian King <colin.king@canonical.com>
Sat, 9 May 2020 21:57:56 +0000 (22:57 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sun, 10 May 2020 18:13:21 +0000 (11:13 -0700)
commitb9f96423bba6155cdf54f96f0b1e43fa6d0b0b74
tree6be4a8d899fc3a2f38de389fd6c1f55cec7fe763
parent1ea08c6bce050a38aa303485af940645cc7b6375
net: usb: qmi_wwan: remove redundant assignment to variable status

The variable status is being initializeed 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>
Acked-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/usb/qmi_wwan.c