USB: wusbcore: remove redundant re-assignment to pointer 'dev'
authorColin Ian King <colin.king@canonical.com>
Fri, 26 Jan 2018 15:07:12 +0000 (15:07 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Mar 2018 17:16:19 +0000 (09:16 -0800)
commit65f4b15cf4db1d6bc7fbe5a49e48f6969af8cd2d
treeea03f7be46559eee6293d7846802ea03b9397f42
parent351a8d4837ae0d61744e64262c3a80ab92ff3e42
USB: wusbcore: remove redundant re-assignment to pointer 'dev'

Pointer dev is initialized and then re-assigned with the same value
a little later, hence the second assignment is redundant and can be
removed.

Cleans up clang warning:
drivers/usb/wusbcore/wa-nep.c:88:17: warning: Value stored to 'dev'
during its initialization is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/wusbcore/wa-nep.c