linux/drivers/staging
Mahati Chamarthy a579c97823 Staging: media: lirc: Merge two lines and remove unused variable
This patch merges an assignment with an immediately following return of
the assigned variable. It also removes a variable that becomes unused due to this transformation.
The following Coccinelle semantic patch was used to make this transformation:

@r@
identifier ret;
identifier f;
@@

-ret =
+return
     f(...);
-return ret;

@@
identifier r.ret;
expression e1;
type t;
@@

(
-t ret = e1;
|
-t ret;
)
 ... when != ret
     when strict

Signed-off-by: Mahati Chamarthy <mahati.chamarthy@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-09-23 20:31:33 -07:00
..
android staging: android: sw_sync: checkpatch fixes 2014-09-19 16:35:53 -07:00
bcm Staging: bcm: Fix line over 80 characters. 2014-09-23 13:48:06 -07:00
board
comedi staging: comedi: ni_usb6501: add counter subdevice 2014-09-19 15:58:18 -07:00
cptm1217
dgap staging: dgap: use schedule_timeout_interruptible() instead of dgap_ms_sleep() 2014-09-19 16:53:57 -07:00
dgnc staging: dgnc: Replace non-standard spinlock's macros 2014-09-23 20:31:32 -07:00
emxx_udc staging: emxx_udc: Do not assign bool to 0/1 2014-09-23 20:27:58 -07:00
et131x staging: et131x: Remove TODO item regarding split lines 2014-09-23 11:35:09 -07:00
ft1000 staging: ft1000-pcmcia: replace DEBUG macro with netdev_dbg 2014-09-23 20:29:56 -07:00
fwserial
gdm72xx
gdm724x Staging: gdm724x: gdm_usb: added error checking in do_tx() 2014-09-19 16:56:46 -07:00
goldfish
gs_fpgaboot staging: gs_fpgaboot Fix trailing whitespace. 2014-09-19 17:42:15 -07:00
iio Staging: iio: light: Use usleep_range instead of msleep 2014-09-23 13:31:36 -07:00
imx-drm Staging: imx-drm: Fix line over 80 characters warning 2014-09-23 20:25:29 -07:00
line6
lustre drivers: staging: lustre: Fix "open brace '{' following struct go on the same line" errors 2014-09-23 08:18:59 -07:00
media Staging: media: lirc: Merge two lines and remove unused variable 2014-09-23 20:31:33 -07:00
mt29f_spinand
netlogic staging: netlogic: fix checkpatch.pl "LINE_SPACING" issuses 2014-09-08 14:02:13 -07:00
nvec
octeon Staging: octeon: Fix missing blank line warning. 2014-09-23 11:33:47 -07:00
octeon-usb Staging: octeon-hcd: removed dummy label 2014-09-11 14:49:13 -07:00
olpc_dcon
ozwpan staging: ozwpan: use kmalloc_array over kmalloc with multiply 2014-09-08 13:26:33 -07:00
panel
rtl8188eu Staging: rtl8188eu: os_dep: Compression of lines for immediate return 2014-09-19 16:26:01 -07:00
rtl8192e Staging: rtl8192e: Fix else is not useful warning style 2014-09-23 13:51:45 -07:00
rtl8192ee staging: rtl8192ee: Remove unnecessary return statement 2014-09-23 13:28:39 -07:00
rtl8192u staging: rtl8192u: delete unused function CAM_read_entry 2014-09-19 17:11:06 -07:00
rtl8712 staging: rtl8712: merge lines and remove unused variable for immediate return 2014-09-23 08:14:37 -07:00
rtl8723au staging: rtl8723au: core: add consistent spacing around '-' 2014-09-23 13:51:45 -07:00
rtl8821ae staging: rtl8821ae: Fixes unnecessary return warning. 2014-09-23 13:19:38 -07:00
rts5208 staging: rts5208: add new line after declarations 2014-09-23 13:22:25 -07:00
skein staging: skein: replace spaces with tabs 2014-09-19 17:27:28 -07:00
slicoss
speakup staging: speakup: remove jiffies comparison using time_after_eq() 2014-09-23 13:31:36 -07:00
ste_rmi4 Staging: ste_rmi4: add new line after declarations 2014-09-23 13:44:11 -07:00
unisys staging: unisys: fix IO memory copy in channel.h 2014-09-23 13:35:03 -07:00
vme Staging: vme: devices: Merges two lines of code and removes unused variable 2014-09-23 20:25:29 -07:00
vt6655 staging: vt6655: shift open brace '{' to previous line 2014-09-23 13:41:15 -07:00
vt6656 Staging: vt6656: Merge two lines of code into one 2014-09-23 13:42:54 -07:00
wlan-ng Staging: wlan-ng: Fix return in void function warning 2014-09-19 17:42:15 -07:00
xgifb
xillybus staging: xillybus: Removed unnecessary cast 2014-09-08 13:59:25 -07:00
Kconfig
Makefile
staging.c