summaryrefslogtreecommitdiffstats
path: root/tools/usb
diff options
context:
space:
mode:
authorColin Ian King2018-01-26 16:07:12 +0100
committerGreg Kroah-Hartman2018-03-09 18:16:19 +0100
commit65f4b15cf4db1d6bc7fbe5a49e48f6969af8cd2d (patch)
treeea03f7be46559eee6293d7846802ea03b9397f42 /tools/usb
parentusbip: Correct maximum value of CONFIG_USBIP_VHCI_HC_PORTS (diff)
downloadkernel-qcow2-linux-65f4b15cf4db1d6bc7fbe5a49e48f6969af8cd2d.tar.gz
kernel-qcow2-linux-65f4b15cf4db1d6bc7fbe5a49e48f6969af8cd2d.tar.xz
kernel-qcow2-linux-65f4b15cf4db1d6bc7fbe5a49e48f6969af8cd2d.zip
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>
Diffstat (limited to 'tools/usb')
0 files changed, 0 insertions, 0 deletions