]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc15aea5629ce944d1d1c05d2bccc2f54ff0f7405
tree6be4a8d899fc3a2f38de389fd6c1f55cec7fe763
parent77ed79eebb7fa5affaafbd118ff6b9f07c4dcd77
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