2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 22:24:09 +08:00
linux-next/drivers/staging
Markus Elfring 13cb076d30 lustre: Deletion of unnecessary checks before three function calls
The functions free_ll_remote_perm(), free_rmtperm_hash() and iput() test
whether their argument is NULL and then return immediately.
Thus the test around their calls is not needed.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-12-02 16:52:37 -08:00
..
android staging: android: ion: Deletion of unnecessary checks before two function calls 2014-11-26 13:42:53 -08:00
board
clocking-wizard Drivers:staging:clocking-wizard: Added a newline 2014-12-02 16:45:24 -08:00
comedi staging: comedi: adl_pci9118: eliminate DMA buffer defragmentation step 2014-12-02 16:31:20 -08:00
cptm1217 staging: cptm1217: Remove useless cast on void pointer 2014-10-30 13:05:46 -07:00
dgap Drivers:staging:dgap: Added a blank line after declaration 2014-11-26 14:00:22 -08:00
dgnc staging: dgnc: Remove useless cast on void pointer 2014-10-30 13:05:46 -07:00
emxx_udc staging: emxx_udc: use USB API functions rather than constants 2014-10-30 13:20:42 -07:00
ft1000 staging: ft1000 : replace __attribute ((__packed__) with __packed 2014-12-02 16:48:10 -08:00
fwserial staging: fwserial: remove multiple blank lines 2014-11-26 13:53:25 -08:00
gdm72xx staging: gdm72xx: Remove useless cast on void pointer 2014-10-30 13:05:47 -07:00
gdm724x staging: gdm724x: Fix incorrect type in assignment 2014-10-20 10:29:18 +08:00
goldfish
gs_fpgaboot staging: gs_fpgaboot: fix a compiler warning with make W=2 2014-10-29 17:39:55 +08:00
iio Merge 3.18-rc4 into staging-next 2014-11-10 12:24:26 +09:00
imx-drm staging: imx-drm: remove old FSF address from license text 2014-11-05 14:52:59 -08:00
line6 staging: line6: fix midibuf.c coding style issue 2014-09-23 23:41:25 -07:00
lustre lustre: Deletion of unnecessary checks before three function calls 2014-12-02 16:52:37 -08:00
media staging: media: lirc: modify print calls 2014-11-05 14:49:14 -08:00
mt29f_spinand
netlogic
nvec
octeon staging: octeon: Fix checkpatch 80 character limit warnings 2014-12-02 16:33:40 -08:00
octeon-usb staging: octeon-usb: eliminate cvmx_dprintf() usage 2014-11-26 13:45:12 -08:00
olpc_dcon staging: olpc_dcon: Deletion of a check before backlight_device_unregister() 2014-11-26 14:00:22 -08:00
ozwpan staging: ozwpan: Deletion of unnecessary checks before the function call "oz_free_urb_link" 2014-11-26 14:00:22 -08:00
panel staging: panel: Move LCD-related state into struct lcd 2014-12-02 16:34:35 -08:00
rtl8188eu staging: rtl8188eu: hal: hal_intf.c: Cleaning up functions that are not used anywhere 2014-12-02 16:29:26 -08:00
rtl8192e drivers: staging: rtl8192e: Include "asm/unaligned.h" instead of "access_ok.h" in "rtl819x_BAProc.c" 2014-12-02 16:47:11 -08:00
rtl8192u Staging: rtl8192u: Use put_unaligned_le16 2014-11-03 16:09:27 -08:00
rtl8712 staging: rtl8712: remove unused variables 2014-10-29 17:37:26 +08:00
rtl8723au staging: rtl8723au: Hal_InitPGData() avoid unnecessary typecasts 2014-12-02 16:40:02 -08:00
rts5208 staging: rts5208: Remove useless cast on void pointer 2014-10-30 13:06:03 -07:00
skein staging: skein: fix sparse warnings related to shift operator 2014-11-22 10:53:09 -08:00
slicoss Staging: slicoss: Removed unnecessary parentheses 2014-10-28 15:58:17 +08:00
speakup staging: speakup: Use time_after_eq to compare jiffies in speakup_keypc.c 2014-10-20 10:29:19 +08:00
ste_rmi4 Staging: ste_rmi4: add new line after declarations 2014-09-23 13:44:11 -07:00
unisys staging: unisys: remove duplicate header 2014-12-02 16:50:08 -08:00
vme Staging: vme: devices: Use kasprintf 2014-10-27 10:33:05 +08:00
vt6655 staging: vt6655: s_cbFillTxBufHead remove parameter cbFrameBodySize 2014-12-02 16:35:11 -08:00
vt6656 staging: vt6656: remove unnecessary 'out of memory' message 2014-10-20 10:29:17 +08:00
wlan-ng staging: wlan-ng: prism2fw: fixed code style issue 2014-11-26 14:00:22 -08:00
xgifb staging: xgifb: Removed a definition which was not used in driver 2014-11-03 16:10:38 -08:00
Kconfig staging: bcm: remove driver 2014-10-20 10:30:15 +08:00
Makefile staging: bcm: remove driver 2014-10-20 10:30:15 +08:00
staging.c