]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd9b6f7ed5763899d4dfac9802b50b6494076317a
treefeef571aee9aa983529c900505dbe2400b2b47e7
parent5e6fc1d1108a73a217c980425dca2f5f212cd50f
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