kernel-fxtec-pro1x/drivers/staging/vme
Ilia Mirkin 794a8946ba staging: vme: 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:37 -07:00
..
boards Staging: remove unused #include <linux/version.h> 2010-05-11 11:35:36 -07:00
bridges staging: vme: Remove NULL check before kfree 2011-03-14 11:57:37 -07:00
devices staging/vme_user: add missing calls to vme_master_free calls in .remove 2010-12-03 11:51:51 -08:00
Kconfig Staging: vme: VMIVME-7805 board support 2010-03-03 16:43:02 -08:00
Makefile Staging: vme: VMIVME-7805 board support 2010-03-03 16:43:02 -08:00
TODO Staging: vme: Add ca91cx42 rmw support 2010-03-03 16:43:01 -08:00
vme.c staging: vme: remove unreachable code 2011-02-28 13:30:07 -08:00
vme.h Staging: vme: Attribute Testing For Dma Request 2010-03-03 16:43:00 -08:00
vme_api.txt Staging: vme: Attribute Testing For Dma Request 2010-03-03 16:43:00 -08:00
vme_bridge.h staging: vme: mark struct vme_master_resource's base address pointer as __iomem 2010-11-16 11:40:16 -08:00