linux/drivers/staging
Ilia Mirkin dd9b15dc03 staging: hv: Remove NULL check before kfree
This patch was generated by the following semantic patch:
// <smpl>
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);

@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
// </smpl>

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: K. Y. Srinivasan <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Mike Sterling <mike.sterling@microsoft.com>
Cc: Abhishek Kane <v-abkane@microsoft.com>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 12:36:14 -07:00
..
asus_oled
ath6kl ath6kl: remove-typedef HIF_DEVICE 2011-03-14 11:58:57 -07:00
bcm
brcm80211 staging: brcm80211: fix memory leaks 2011-03-14 12:22:54 -07:00
comedi
cptm1217
crystalhd staging: crystalhd: fix memory leaks 2011-03-14 12:23:34 -07:00
cs5535_gpio
cx25821
cxt1e1
dabusb
dt3155v4l
easycap
echo
et131x
frontier
ft1000
gma500
go7007
hv staging: hv: Remove NULL check before kfree 2011-03-14 12:36:14 -07:00
iio Staging: IIO: DAC: AD5624R: Consistency cleanup - no functional changes 2011-03-14 12:21:28 -07:00
intel_sst
keucr
line6
lirc
memrar
msm
octeon
olpc_dcon
panel
phison
pohmelfs
quatech_usb2
quickstart
rt2860
rt2870
rtl8187se
rtl8192e staging: rtl8192e: Don't copy dev pointer to skb 2011-03-14 12:24:48 -07:00
rtl8192u staging: rtl8192u: Remove NULL check before kfree 2011-03-14 11:57:35 -07:00
rtl8712 staging: rtl8712: Remove NULL check before kfree 2011-03-14 11:57:35 -07:00
rts_pstor
samsung-laptop
sbe-2t3e3
se401
sep
serqt_usb2 staging: serqt_usb2: Remove NULL check before kfree 2011-03-14 11:57:35 -07:00
slicoss
sm7xx
solo6x10
speakup staging: speakup: Remove NULL check before kfree 2011-03-14 11:57:36 -07:00
spectra
ste_rmi4 staging: ste_rmi4: fix memory leaks 2011-03-14 12:22:54 -07:00
tidspbridge staging: tidspbridge: protect dmm_map properly 2011-03-14 12:22:27 -07:00
tm6000
usbip staging: usbip: Remove NULL check before kfree 2011-03-14 11:57:37 -07:00
usbvideo
vme staging: vme: Remove NULL check before kfree 2011-03-14 11:57:37 -07:00
vt6655 staging: vt6655: Remove NULL check before kfree 2011-03-14 11:57:37 -07:00
vt6656 staging: vt6656: Remove NULL check before kfree 2011-03-14 11:57:37 -07:00
westbridge
winbond staging: winbond: Remove NULL check before kfree 2011-03-14 11:57:38 -07:00
wlags49_h2
wlags49_h25
wlan-ng staging: wlan-ng: Remove NULL check before kfree 2011-03-14 11:57:38 -07:00
xgifb
zcache
zram
Kconfig
Makefile
staging.c