linux/drivers/staging/vt6655
Malcolm Priestley c72f65ccca staging: vt6655: device_free_info() warn: variable dereferenced before check
pDevice is never NULL when this function is called remove the check.

This fixes smatch warning
drivers/staging/vt6655/device_main.c:1023 device_free_info() warn: variable dereferenced
before check 'pDevice' (see line 1021)

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: kbuild@01.org
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-09-08 14:01:17 -07:00
..
80211hdr.h Staging: vt6655: remove redundant comments from 80211hdr.h 2014-07-22 15:04:13 -07:00
80211mgr.c staging: vt6655: Convert DBG_PRT to pr_<level> 2014-08-17 09:43:50 -07:00
80211mgr.h staging: vt6655: 80211mgr.h add ieee80211.h header and fix conflicts 2014-08-30 13:50:09 -07:00
aes_ccmp.c staging: vt6655:fix warning for unexported non-static functions 2014-07-22 15:02:08 -07:00
aes_ccmp.h Staging: vt6655: removed redundant comments from aes_ccmp.h 2014-07-22 15:04:13 -07:00
baseband.c staging: vt6655: Remove BBvCalculateParameter and its data members 2014-08-30 13:48:19 -07:00
baseband.h staging: vt6655: Remove BBvCalculateParameter and its data members 2014-08-30 13:48:19 -07:00
bssdb.c staging: vt6655: Convert DBG_PRT to pr_<level> 2014-08-17 09:43:50 -07:00
bssdb.h staging: vt6655: Replace and remove typedef QWORD/ DQWORD 2014-08-16 12:23:15 -07:00
card.c staging: vt6655: Replace typedef enum _CARD_OP_MODE eOPMode with enum nl80211_iftype op_mode. 2014-08-30 15:19:17 -07:00
card.h staging: vt6655: Replace typedef enum _CARD_OP_MODE eOPMode with enum nl80211_iftype op_mode. 2014-08-30 15:19:17 -07:00
channel.c staging: vt6655: Convert DBG_PRT to pr_<level> 2014-08-17 09:43:50 -07:00
channel.h Staging: vt6655: removed redundant comments from channel.h 2014-07-27 11:33:08 -07:00
country.h Staging: vt6655: removed redundant comments from country.h 2014-07-27 11:33:08 -07:00
datarate.c staging: vt6655: Convert DBG_PRT to pr_<level> 2014-08-17 09:43:50 -07:00
datarate.h Staging: vt6655: removed redundant comments from datarate.h 2014-07-27 11:33:07 -07:00
desc.h staging: vt6655: replace typedef struct tagSCTS_FB with struct vnt_cts_fb 2014-08-30 15:19:17 -07:00
device_cfg.h staging: vt6655: dead code remove device_nics variable 2014-08-30 13:49:34 -07:00
device_main.c staging: vt6655: device_free_info() warn: variable dereferenced before check 2014-09-08 14:01:17 -07:00
device.h staging: vt6655: Replace typedef enum _CARD_OP_MODE eOPMode with enum nl80211_iftype op_mode. 2014-08-30 15:19:17 -07:00
dpc.c staging: vt6655: Replace typedef enum _CARD_OP_MODE eOPMode with enum nl80211_iftype op_mode. 2014-08-30 15:19:17 -07:00
dpc.h staging: vt6655: bssdb/datarate/dpc/power/rxtx use struct vnt_private 2014-08-16 12:23:16 -07:00
hostap.c staging: vt6655: Convert DBG_PRT to pr_<level> 2014-08-17 09:43:50 -07:00
hostap.h staging: vt6655: hostap/ioctl/iwctl use struct vnt_private 2014-08-16 12:23:16 -07:00
IEEE11h.c staging: vt6655: remove unused functions 2014-07-22 15:03:13 -07:00
IEEE11h.h Staging: vt6655: removed redundant comments from IEEE11h.h 2014-07-27 11:34:38 -07:00
iocmd.h staging: vt6655: fix direct dereferencing of user pointer 2014-07-30 16:36:27 -07:00
ioctl.c staging: vt6655: Convert DBG_PRT to pr_<level> 2014-08-17 09:43:50 -07:00
ioctl.h staging: vt6655: hostap/ioctl/iwctl use struct vnt_private 2014-08-16 12:23:16 -07:00
iowpa.h staging: vt6655: iowpa.h: Fix sparse warnings 2014-08-16 12:23:05 -07:00
iwctl.c staging: vt6655: Replace typedef enum _CARD_OP_MODE eOPMode with enum nl80211_iftype op_mode. 2014-08-30 15:19:17 -07:00
iwctl.h staging: vt6655: fix direct dereferencing of user pointer 2014-07-30 16:36:27 -07:00
Kconfig
key.c staging: vt6655: Convert DBG_PRT to pr_<level> 2014-08-17 09:43:50 -07:00
key.h staging: vt6655: Replace and remove typedef QWORD/ DQWORD 2014-08-16 12:23:15 -07:00
mac.c staging: vt6655: Convert DBG_PRT to pr_<level> 2014-08-17 09:43:50 -07:00
mac.h staging: vt6655: remove unused macro 2014-07-27 11:21:28 -07:00
Makefile
mib.c staging: vt6655: Convert DBG_PRT to pr_<level> 2014-08-17 09:43:50 -07:00
mib.h Staging: vt6655: removed redundant comments from mib.h 2014-07-27 11:38:42 -07:00
michael.c
michael.h Staging: vt6655: removed redundant comments from michael.h 2014-07-27 11:38:42 -07:00
power.c staging: vt6655: Replace typedef enum _CARD_OP_MODE eOPMode with enum nl80211_iftype op_mode. 2014-08-30 15:19:17 -07:00
power.h Staging: vt6655: removed redundant comments from power.h 2014-07-27 11:38:42 -07:00
rc4.c staging: vt6655: Add missing blank lines after declarations 2014-07-27 11:21:27 -07:00
rc4.h
rf.c staging: vt6655: rf/wpactl/wroute use struct vnt_private 2014-08-16 12:23:16 -07:00
rf.h staging: vt6655: rf/wpactl/wroute use struct vnt_private 2014-08-16 12:23:16 -07:00
rxtx.c staging: vt6655: Replace typedef enum _CARD_OP_MODE eOPMode with enum nl80211_iftype op_mode. 2014-08-30 15:19:17 -07:00
rxtx.h staging: vt6655: replace typedef struct tagSCTS_FB with struct vnt_cts_fb 2014-08-30 15:19:17 -07:00
srom.c staging: vt6655: change type of PortOffset to void __iomem * 2014-07-22 15:02:08 -07:00
srom.h staging: vt6655: change type of PortOffset to void __iomem * 2014-07-22 15:02:08 -07:00
tcrc.c staging: vt6655: coding style: Fixed commenting style 2014-07-30 16:36:27 -07:00
tcrc.h
test
tether.c
tether.h
tkip.c
tkip.h
tmacro.h
TODO
ttype.h staging: vt6655: Replace and remove typedef QWORD/ DQWORD 2014-08-16 12:23:15 -07:00
upc.h staging: vt6655: upc.h replace read and write memory functions 2014-08-16 12:23:15 -07:00
vntconfiguration.dat
vntwifi.c staging: vt6655: vntwifi.c remove unused directive PLICE_DEBUG 2014-08-30 13:47:31 -07:00
vntwifi.h
wcmd.c staging: vt6655: Replace typedef enum _CARD_OP_MODE eOPMode with enum nl80211_iftype op_mode. 2014-08-30 15:19:17 -07:00
wcmd.h staging: vt6655: Remove TxInSleep macro 2014-08-16 12:23:15 -07:00
wctl.c staging: vt6655: channel/wcmd/wctl/wmgr use struct vnt_private * 2014-08-16 12:23:16 -07:00
wctl.h staging: vt6655: channel/wcmd/wctl/wmgr use struct vnt_private * 2014-08-16 12:23:16 -07:00
wmgr.c staging: vt6655: Replace typedef enum _CARD_OP_MODE eOPMode with enum nl80211_iftype op_mode. 2014-08-30 15:19:17 -07:00
wmgr.h staging: vt6655: Replace and remove typedef QWORD/ DQWORD 2014-08-16 12:23:15 -07:00
wpa2.c staging: vt6655: Convert DBG_PRT to pr_<level> 2014-08-17 09:43:50 -07:00
wpa2.h
wpa.c staging: vt6655: Convert DBG_PRT to pr_<level> 2014-08-17 09:43:50 -07:00
wpa.h
wpactl.c staging: vt6655: Convert DBG_PRT to pr_<level> 2014-08-17 09:43:50 -07:00
wpactl.h staging: vt6655: rf/wpactl/wroute use struct vnt_private 2014-08-16 12:23:16 -07:00
wroute.c staging: vt6655: Convert DBG_PRT to pr_<level> 2014-08-17 09:43:50 -07:00
wroute.h staging: vt6655: rf/wpactl/wroute use struct vnt_private 2014-08-16 12:23:16 -07:00