linux/drivers/usb/gadget/legacy
Colin Ian King 2eeb44c4e5 USB: gadget: legacy: remove redundant zero assignment to variable 'value'
The variable value is being assigned to zero but that value is never being
read.  Either value is being reassigned in the following if condition, or
it is never read and the function returns. In both cases the assignment is
redundant and can be removed. Cleans up clang warning:

drivers/usb/gadget/legacy/inode.c:1473:4: warning: Value stored to 'value'
is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2017-12-11 12:36:51 +02:00
..
acm_ms.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
audio.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
cdc2.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
dbgp.c USB: add SPDX identifiers to all remaining files in drivers/usb/ 2017-11-04 11:48:02 +01:00
ether.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
g_ffs.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
gmidi.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
hid.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
inode.c USB: gadget: legacy: remove redundant zero assignment to variable 'value' 2017-12-11 12:36:51 +02:00
Kconfig usb: gadget: allow to enable legacy drivers without USB_ETH 2017-11-28 13:05:07 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mass_storage.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
multi.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
ncm.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
nokia.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
printer.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
serial.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
tcm_usb_gadget.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
webcam.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
zero.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00