linux/drivers/usb/serial
Colin Ian King f0b4198f07 USB: serial: remove redundant initializations of 'mos_parport'
The pointer mos_parport is being initialized to pp->private_data and
then the assignment is duplicated after a spin lock.  Remove the
initialization as it occurs before the spin lock and it is a redundant
assignment.

Cleans up clang warnings:
drivers/usb/serial/mos7720.c:521:26: warning: Value stored to
'mos_parport' during its initialization is never read
drivers/usb/serial/mos7720.c:557:26: warning: Value stored to
'mos_parport' during its initialization is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-01-22 15:34:37 +01:00
..
Kconfig USB: serial: simple: add Motorola Tetra driver 2018-01-22 15:34:37 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile-keyspan_pda_fw USB: add SPDX identifiers to all remaining Makefiles 2017-11-07 15:53:48 +01:00
aircable.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
ark3116.c USB: serial: ark3116: move TIOCGSERIAL ioctl case to function 2018-01-09 12:53:27 +01:00
belkin_sa.c USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
belkin_sa.h USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
bus.c USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
ch341.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
console.c USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
cp210x.c USB: serial: cp210x: add new device ID ELV ALC 8xxx 2018-01-04 15:52:06 +01:00
cyberjack.c USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
cypress_m8.c USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
cypress_m8.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
digi_acceleport.c USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
empeg.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
ezusb_convert.pl License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
f81232.c USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
f81534.c USB: serial: f81534: fix tx error on some baud rate 2018-01-11 11:00:25 +01:00
ftdi_sio.c USB: serial: ftdi_sio: add id for Airbus DS P8GR 2017-12-27 11:47:31 +01:00
ftdi_sio.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ftdi_sio_ids.h USB: serial: ftdi_sio: add id for Airbus DS P8GR 2017-12-27 11:47:31 +01:00
garmin_gps.c USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
generic.c USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
io_16654.h USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
io_edgeport.c USB: serial: io_edgeport: fix possible sleep-in-atomic 2017-12-14 10:32:29 +01:00
io_edgeport.h USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
io_ionsp.h USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
io_ti.c USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
io_ti.h USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
io_usbvend.h USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
ipaq.c USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
ipw.c USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
ir-usb.c USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
iuu_phoenix.c USB: serial: iuu_phoenix: remove redundant assignment of DIV to itself 2017-11-27 13:51:07 +01:00
iuu_phoenix.h USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
keyspan.c USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
keyspan_pda.c USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
keyspan_usa26msg.h USB: serial: correct spelling mistakes in comments 2014-01-03 12:39:31 -08:00
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h
keyspan_usa90msg.h
kl5kusb105.c USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
kl5kusb105.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
kobil_sct.c USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
kobil_sct.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mct_u232.c USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
mct_u232.h USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
metro-usb.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
mos7720.c USB: serial: remove redundant initializations of 'mos_parport' 2018-01-22 15:34:37 +01:00
mos7840.c treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
mxuport.c USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
navman.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
omninet.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
opticon.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
option.c usb: option: Add support for FS040U modem 2018-01-22 15:22:27 +01:00
oti6858.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
oti6858.h USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
pl2303.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
pl2303.h USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
qcaux.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
qcserial.c USB: serial: qcserial: add Sierra Wireless EM7565 2017-12-15 09:41:46 +01:00
quatech2.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
safe_serial.c USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
sierra.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
spcp8x5.c USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
ssu100.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
symbolserial.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
ti_usb_3410_5052.c USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
upd78f0730.c USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
usb-serial-simple.c USB: serial: simple: add Motorola Tetra driver 2018-01-22 15:34:37 +01:00
usb-serial.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
usb-wwan.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
usb_debug.c USB: serial: usb_debug: add new USB device id 2017-11-28 09:54:11 +01:00
usb_wwan.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
visor.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00
visor.h USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
whiteheat.c USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
whiteheat.h USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
wishbone-serial.c USB: serial: Remove redundant license text 2017-11-04 11:55:38 +01:00
xsens_mt.c USB: serial: fix module-license macros 2017-11-04 11:58:00 +01:00