linux/drivers/staging
Bhaktipriya Shridhar b242d05fa3 staging: rts5208: Remove NULL test before vfree
vfree frees the virtually continuous memory area starting at addr.
If addr is NULL, no operation is performed. So NULL test is not needed
before vfree.

This was done using Coccinelle:

@@
expression x;
@@
-if (x != NULL)
    vfree(x);

@@
expression x;
@@

-if (x != NULL) {
vfree(x);
x = NULL;
-}

Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-03-11 22:09:09 -08:00
..
android staging: android: Remove unneeded else following a return 2016-02-20 15:24:51 -08:00
board Staging: board: Blank lines aren't necessary before a close brace 2016-02-07 19:57:22 -08:00
clocking-wizard Staging: clocking-wizard: CHECK:Please use a blank line 2016-02-07 20:05:31 -08:00
comedi Revert "staging: comedi: drivers: Remove unneeded NULL check before kfree()" 2016-03-10 19:35:54 -08:00
dgnc staging: dgnc: convert to wait_event_interruptible_timeout 2016-02-11 19:51:46 -08:00
emxx_udc staging: emxx_udc: Remove header file 2016-02-22 12:03:22 -08:00
fbtft staging: fbtft: Fix block comment coding style 2016-02-20 15:09:57 -08:00
fsl-mc staging: fsl-mc: Remove unneeded else following a return 2016-02-20 15:14:59 -08:00
fwserial staging: fwserial: (coding-style) rewrite comparisons to NULL as "!fifo->data" 2016-02-07 19:36:14 -08:00
gdm72xx Staging: gdm72xx: remove duplicate condition 2016-03-05 14:48:04 -08:00
gdm724x Staging: gdm724x: Replace random_ether_addr with eth_random_addr 2016-03-05 14:48:04 -08:00
goldfish staging: goldfish: audio: fix compiliation on arm 2016-03-11 22:09:09 -08:00
gs_fpgaboot Staging: gs_fpgaboot: fix data types in gs_fpgaboot.c 2016-02-07 20:07:29 -08:00
i4l isdn: i4l: move active-isdn drivers to staging 2016-03-05 15:00:38 -08:00
iio Third set of IIO new device support, features and cleanups for the 4.6 cycle. 2016-03-01 16:31:55 -08:00
lustre Staging: lustre: Use list_{next/prev}_entry instead of list_entry 2016-03-11 22:09:09 -08:00
media staging: media: davinci_vpfe: Remove unnecessary else after return 2016-03-11 22:09:09 -08:00
most Staging: most: Use usb_endpoint_dir_in(endpoint) instead of (endpoint->bEndpointAddress & USB_DIR_IN). 2016-03-10 19:26:05 -08:00
mt29f_spinand staging: mt29f_spinand: Remove unneeded else following return 2016-02-20 15:24:51 -08:00
netlogic staging: netlogic: Return zero pointer after failed kmalloc 2016-02-20 14:59:37 -08:00
nvec staging: nvec: Fix alignment with the open parenthesis 2016-02-20 15:28:48 -08:00
octeon staging: octeon: Fix braces in condition statement 2016-03-11 22:09:09 -08:00
octeon-usb staging: octeon-usb: update TODO 2016-02-25 22:38:16 -08:00
rdma staging: rdma: hfi1: Remove header file 2016-02-22 12:03:22 -08:00
rtl8188eu staging: rtl8188eu: os_dep: Remove header file 2016-02-22 12:03:22 -08:00
rtl8192e staging: rtl8192e: rtllib_crypt_tkip: Remove unnecessary else after return 2016-03-11 22:09:09 -08:00
rtl8192u staging: rtl8192u: ieee80211_crypt: Remove unnecessary else after return 2016-03-11 22:09:09 -08:00
rtl8712 Staging: rtl8712: Remove function r8712_setptm_cmd and r8712_gettssi_cmd 2016-03-11 22:09:09 -08:00
rtl8723au staging: rtl8723au: hal: Remove useless return variables 2016-03-10 19:44:34 -08:00
rts5208 staging: rts5208: Remove NULL test before vfree 2016-03-11 22:09:09 -08:00
skein
slicoss Staging: slicoss: changes comparisons to NULL in slicoss.c 2016-03-11 22:09:09 -08:00
sm750fb staging: sm750fb: Remove header files 2016-02-22 12:03:22 -08:00
speakup staging: speakup: Remove unnecessary test in if condition 2016-03-05 14:48:04 -08:00
ste_rmi4 staging: ste_rmi4: simplify NULL tests 2016-03-11 22:09:09 -08:00
unisys staging: unisys: visornic: Remove unnecessary else after return 2016-03-10 19:29:45 -08:00
vme drivers: staging: vme: Deleted casting to (void *) 2015-11-24 15:30:50 -08:00
vt6655 Staging: vt6655: Remove & from function name. 2016-03-10 19:21:18 -08:00
vt6656 staging: vt6656: Remove unnecessary parentheses 2016-03-10 19:21:18 -08:00
wilc1000 staging: wilc1000: Possible unnecessary 'out of memory' message 2016-03-11 22:09:09 -08:00
wlan-ng staging: wlan-ng: fix NULL comparison 2016-02-20 14:53:27 -08:00
xgifb staging: xgifb: Fix comment style 2016-02-14 17:01:26 -08:00
Kconfig isdn: i4l: move active-isdn drivers to staging 2016-03-05 15:00:38 -08:00
Makefile staging: lustre: make lustre dependent on LNet 2016-03-10 17:48:53 -08:00