OpenCloudOS-Kernel/drivers/staging/keucr
Ilia Mirkin 306be9e1c1 staging: keucr: 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:57:32 -07:00
..
Kconfig Staging: Merge ENE UB6250 SD card codes from keucr to drivers/usb/storage 2011-03-07 13:40:59 -08:00
Makefile Staging: Merge ENE UB6250 SD card codes from keucr to drivers/usb/storage 2011-03-07 13:40:59 -08:00
TODO staging: keucr: use kernel byteorder functions 2011-03-07 13:26:56 -08:00
common.h staging: keucr: use kernel byteorder functions 2011-03-07 13:26:56 -08:00
init.c Staging: Merge ENE UB6250 SD card codes from keucr to drivers/usb/storage 2011-03-07 13:40:59 -08:00
init.h Staging: Merge ENE UB6250 SD card codes from keucr to drivers/usb/storage 2011-03-07 13:40:59 -08:00
ms.c staging: keucr: Remove NULL check before kfree 2011-03-14 11:57:32 -07:00
ms.h
msscsi.c Staging: keucr driver: fix uninitialized variable & proper memset length 2010-11-10 16:33:57 -08:00
scsiglue.c SCSI host lock push-down 2010-11-16 13:33:23 -08:00
scsiglue.h
smcommon.h staging: keucr: Change the custom counting functions to hweight8 and hweight16 2011-02-28 19:03:18 -08:00
smil.h
smilecc.c staging: keucr: Use memcpy() instead custom StringCopy() and some style cleanups 2011-01-21 12:16:52 -08:00
smilmain.c drivers/staging: Remove unnecessary semicolons 2010-11-16 12:06:47 -08:00
smilsub.c staging: keucr: Change the custom counting functions to hweight8 and hweight16 2011-02-28 19:03:18 -08:00
smscsi.c staging: keucr: check kmalloc() return value 2010-09-20 17:03:41 -07:00
transport.c Staging: Merge ENE UB6250 SD card codes from keucr to drivers/usb/storage 2011-03-07 13:40:59 -08:00
transport.h Staging: Merge ENE UB6250 SD card codes from keucr to drivers/usb/storage 2011-03-07 13:40:59 -08:00
usb.c Staging: Merge ENE UB6250 SD card codes from keucr to drivers/usb/storage 2011-03-07 13:40:59 -08:00
usb.h