linux/drivers/staging/rtl8192u
Colin Ian King 5e767cca29 staging: rtl8192u: remove redundant nul check on pointer dev
There is a null check on pointer dev which implies it may be null, however
dev can never be null as it is set in rtl8192_usb_probe via the call
to usb_set_intfdata.

Detected by CoverityScan, CID#143078 ("Dereference after null check")

Fixes: 8fc8598e61 ("Staging: Added Realtek rtl8192u driver to staging")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-02-07 13:33:54 +01:00
..
ieee80211 crypto: drop mask=CRYPTO_ALG_ASYNC from 'cipher' tfm allocations 2018-11-20 14:26:55 +08:00
authors
changes
copying
Kconfig
Makefile staging: prefix header search paths with $(srctree)/ 2019-02-04 12:30:27 +01:00
r819xU_cmdpkt.c staging: rtl8192u: Fix misspellings in comments - Style 2018-11-05 14:16:33 +01:00
r819xU_cmdpkt.h
r819xU_firmware_img.c
r819xU_firmware_img.h
r819xU_firmware.c staging: rtl8192u: Fix misspelling in struct member name - Style 2018-11-05 14:16:33 +01:00
r819xU_firmware.h staging:rtl8192u: Remove typedef from enum opt_rst_type_e - Style 2018-09-10 17:12:16 +02:00
r819xU_phy.c staging:rtl8192u: Rename PHY_SetRF8256OFDMTxPower() - Style 2018-08-27 19:28:16 +02:00
r819xU_phy.h
r819xU_phyreg.h staging: rtl8192u: Fix misspellings in comments - Style 2018-11-05 14:16:33 +01:00
r8180_93cx6.c
r8180_93cx6.h staging:rtl8192u: Add required SPDX-License-Identifier - Style 2018-09-10 10:37:54 +02:00
r8190_rtl8256.c staging:rtl8192u: Rename PHY_SetRF8256OFDMTxPower() - Style 2018-08-27 19:28:16 +02:00
r8190_rtl8256.h staging:rtl8192u: Add SPDX-License-Identifier tag - Style 2018-08-27 19:28:16 +02:00
r8192U_core.c staging: rtl8192u: remove redundant nul check on pointer dev 2019-02-07 13:33:54 +01:00
r8192U_dm.c staging: rtl8192u: Fix misspelling in variable name - Style 2018-11-05 14:16:33 +01:00
r8192U_dm.h
r8192U_hw.h
r8192U_wx.c
r8192U_wx.h
r8192U.h staging: rtl8192u: rename struct name _rt_firmare_seg_container 2018-11-07 12:35:10 +01:00