linux/drivers/staging
Colin Ian King 783778e38e staging: rtl8192e: remove two redundant assignments
Clang detected two redundant assignments that can be safely removed.
The first is the removal of the duplicated assignment to pointer 'hdr',
this has already been initialized with the same value.  The second is
the removal of the redundant initialization of variable 'timeout', this
assigned value is never read and the variable is reassigned a new value
a little later.

Remove both redundant assignments, cleans up clang warnings:
drivers/staging/rtl8192e/rtllib_rx.c:1305:27: warning: Value stored to
'hdr' during its initialization is never read
drivers/staging/rtl8192e/rtllib_softmac.c:1971:6: warning: Value stored
to 'timeout' 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 11:48:06 +01:00
..
android staging: android: ion: Switch from WARN to pr_warn 2018-01-09 15:38:48 +01:00
board License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ccree staging: ccree: fix memory leaks in cc_ivgen_init 2018-01-15 15:50:35 +01:00
clocking-wizard staging: clocking-wizard: remove redundant license text 2018-01-15 16:03:45 +01:00
comedi staging: comedi: adv_pci1760: fix typo in comments 2018-01-08 16:45:45 +01:00
dgnc staging: dgnc: drop unused neo_uart_struct 2018-01-17 15:02:56 +01:00
emxx_udc staging: emxx_udc: remove redundant license text 2018-01-15 16:03:46 +01:00
fbtft staging: fbtft: remove redundant license text 2018-01-15 16:03:46 +01:00
fsl-dpaa2 staging: fsl-dpaa2/eth: Use affine DPIO services 2018-01-08 16:47:23 +01:00
fsl-mc staging: fsl-mc: Add SPDX license identifiers 2018-01-22 11:45:21 +01:00
fwserial staging: fwserial: remove redundant license text 2018-01-15 16:03:45 +01:00
gdm724x Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
goldfish
greybus Staging: greybus: camera: cleanup multiple checks for null pointers 2018-01-09 15:38:48 +01:00
gs_fpgaboot Staging: gs_fpgaboot: remove FSF's mailing address from io.h 2018-01-08 16:47:23 +01:00
iio staging: iio: light: Add breaks to lengthy lines 2018-01-08 16:03:44 +01:00
ipx staging: ipx: depends on NET 2017-11-30 17:13:52 +00:00
irda drivers: staging: remove duplicate includes 2017-12-06 18:26:05 +01:00
ks7010 Staging: ks7010: ks_wlan_net: Fixing coding style warning 2017-12-19 15:23:18 +01:00
lustre staging: lustre: libcfs: Prevent harmless read underflow 2018-01-22 11:40:49 +01:00
media Merge 4.15-rc4 into staging-next 2017-12-18 09:12:51 +01:00
most staging: most: replace function name to __func__ 2018-01-22 11:44:08 +01:00
mt29f_spinand
ncpfs ncpfs: remove redundant cast of struct ncp_inode_info 2018-01-09 19:34:12 +01:00
netlogic
nvec staging: nvec: remove redundant license text 2018-01-15 16:03:45 +01:00
octeon staging: octeon: remove redundant license text 2018-01-15 16:03:45 +01:00
octeon-usb staging: octeon-usb: use __delay() instead of cvmx_wait() 2017-11-28 14:36:46 +01:00
olpc_dcon staging: olpc_dcon: Line up parentheses in func calls and defs 2017-12-06 10:00:30 +01:00
pi433 staging: pi433: Cleanup codestyle, indent statements after case labels 2018-01-10 19:29:34 +01:00
rtl8188eu rtl8188eu: Fix a possible sleep-in-atomic bug in set_tx_beacon_cmd 2017-12-13 12:48:46 +01:00
rtl8192e staging: rtl8192e: remove two redundant assignments 2018-01-22 11:48:06 +01:00
rtl8192u staging: rtl8192u: Replace mdelay with msleep in rtl8192_usb_probe 2018-01-08 16:45:45 +01:00
rtl8712 staging: rtl8712: remove redundant initialization to 'rfPath' 2018-01-22 11:48:05 +01:00
rtl8723bs staging: rtl8723bs: Fix trailing semicolon 2018-01-10 19:14:47 +01:00
rtlwifi Staging: rtlwifi: Remove unused variable and the code 2018-01-08 16:45:45 +01:00
rts5208 staging: rts5208: sd: fix misspelled constant 2018-01-10 19:14:47 +01:00
skein License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sm750fb staging: sm750fb: Remove multiple blank lines 2018-01-08 16:47:23 +01:00
speakup staging: speakup: remove redundant license text 2018-01-15 16:03:45 +01:00
typec staging: typec: remove redundant license text 2018-01-15 16:03:44 +01:00
unisys drivers: visorbus: move driver out of staging 2017-12-08 16:37:50 +01:00
vboxvideo vboxvideo: Fix incorrect type in assignment sparse warning 2018-01-08 16:03:45 +01:00
vc04_services staging: vc04_services: bcm2835-camera: remove redundant license text 2018-01-15 16:03:44 +01:00
vme staging: vme: vme_user.c: remove redundant license text 2018-01-15 16:03:44 +01:00
vt6655 staging: vt6655: Use GFP_KERNEL in kzalloc 2017-12-19 15:16:50 +01:00
vt6656 Staging: vt6656: Fix unnecessary 'out of memory' message 2018-01-08 16:45:45 +01:00
wilc1000 staging: wilc1000: rename strStatistics & tenuAuth_type to avoid camelCase 2018-01-17 15:06:20 +01:00
wlan-ng Staging: wlan-ng: hfa384x_usb: fixed two line limit coding style issues 2018-01-08 16:41:36 +01:00
xgifb staging: xgifb: vb_setmode: brace style fixes 2018-01-16 09:41:19 +01:00
Kconfig ncpfs: move net/ncpfs to drivers/staging/ncpfs 2017-11-28 13:55:01 +01:00
Makefile ncpfs: move net/ncpfs to drivers/staging/ncpfs 2017-11-28 13:55:01 +01:00