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
DDRInit.c
DDRInit.h
Debug.h
HandleControlPacket.c
HostMIBSInterface.h
IPv6Protocol.c
IPv6ProtocolHdr.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
Kconfig
LeakyBucket.c
Macros.h
Makefile
Misc.c staging: bcm: optimize kmalloc to kzalloc 2011-03-09 15:54:31 -08:00
PHSDefines.h
PHSModule.c
PHSModule.h
Protocol.h
Prototypes.h
Qos.c staging: fix build failure in bcm driver 2011-01-17 17:39:39 -08:00
Queue.h
TODO
Transmit.c staging: fix build failure in bcm driver 2011-01-17 17:39:39 -08:00
Typedefs.h
Version.h
cntrl_SignalingInterface.h
headers.h
hostmibs.c
led_control.c
led_control.h
nvm.c
nvm.h
sort.c
target_params.h
vendorspecificextn.c
vendorspecificextn.h