1
linux/drivers/staging/bcm
Ilia Mirkin 23c3298687 staging: bcm: 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:30 -07:00
..
Adapter.h
Bcmchar.c staging: bcm: optimize kmalloc to kzalloc 2011-03-09 15:54:31 -08:00
Bcmnet.c Staging: bcm: Bcmnet: fixed checkpatch script reported issues 2011-03-09 15:54:30 -08:00
CmHost.c staging: bcm: Remove NULL check before kfree 2011-03-14 11:57:30 -07:00
CmHost.h
cntrl_SignalingInterface.h
DDRInit.c
DDRInit.h
Debug.h
HandleControlPacket.c
headers.h
hostmibs.c
HostMIBSInterface.h
InterfaceAdapter.h
InterfaceDld.c
InterfaceIdleMode.c
InterfaceIdleMode.h
InterfaceInit.c
InterfaceInit.h
InterfaceIsr.c
InterfaceIsr.h
InterfaceMacros.h
InterfaceMisc.c
InterfaceMisc.h
InterfaceRx.c
InterfaceRx.h
InterfaceTx.c
InterfaceTx.h
Ioctl.h
IPv6Protocol.c
IPv6ProtocolHdr.h
Kconfig
LeakyBucket.c
led_control.c
led_control.h
Macros.h
Makefile
Misc.c staging: bcm: optimize kmalloc to kzalloc 2011-03-09 15:54:31 -08:00
nvm.c
nvm.h
PHSDefines.h
PHSModule.c
PHSModule.h
Protocol.h
Prototypes.h
Qos.c
Queue.h
sort.c
target_params.h
TODO
Transmit.c
Typedefs.h
vendorspecificextn.c
vendorspecificextn.h
Version.h