staging: most: usb: remove local variable
authorChristian Gromm <christian.gromm@microchip.com>
Tue, 8 May 2018 09:45:16 +0000 (11:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 May 2018 11:41:51 +0000 (13:41 +0200)
commitbe8a8ca34b94352afeac5c449422c68d6a35942b
treefeef571aee9aa983529c900505dbe2400b2b47e7
parentc06b99e002d06a69174a862c0da43ce0cebfe78d
staging: most: usb: remove local variable

This patch removes the local variable dev that is used to store the pointer
to the usb_device whenever it is used only once.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/usb/usb.c