1
0
mirror of https://github.com/torvalds/linux.git synced 2024-12-28 05:41:55 +00:00
linux/drivers/staging/dgnc
Jiayi Ye 308c32f9e8 staging: dgnc: delete successive assignments to the same location
Successive assignments to the same location is meaningless and can be
deleted. The Coccinelle semantic patch was used to find cases.

@@
expression e1,e2,e3;
@@

(
 (<+...e1++...+>)=e2;
|
 (<+...e1--...+>)=e2;
|
 (<+...++e1...+>)=e2;
|
 (<+...--e1...+>)=e2;
|
e1=e2;
e1 = <+...e1...+>;
|
*e1=e2;
*e1=e3;
)

Signed-off-by: Jiayi Ye <yejiayily@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-10-28 15:41:43 +08:00
..
dgnc_cls.c Staging: dgnc: Remove unused sniff code 2014-10-23 08:34:25 +08:00
dgnc_cls.h staging: dgnc: UART_IIR_XOFF code is buggy 2014-05-15 13:46:00 -07:00
dgnc_driver.c staging: dgnc: Remove non-standard APR/RAPR printing macros 2014-10-20 10:29:18 +08:00
dgnc_driver.h Staging: dgnc: Remove unused sniff code 2014-10-23 08:34:25 +08:00
dgnc_kcompat.h staging: dgnc: Remove KERNEL_VERSION check 2013-09-30 18:47:00 -07:00
dgnc_mgmt.c staging: dgnc: Fix do not add new typedefs 2014-10-02 09:37:44 -07:00
dgnc_mgmt.h staging: dgnc: removes ifdef HAVE_UNLOCKED_IOCTL conditionals 2013-08-20 16:28:40 -07:00
dgnc_neo.c Staging: dgnc: Remove unused sniff code 2014-10-23 08:34:25 +08:00
dgnc_neo.h staging: dgnc: Fix typo in staging/dgnc 2013-09-17 07:47:46 -07:00
dgnc_pci.h staging: dgnc: removes CVS code from files 2013-08-21 10:48:40 -07:00
dgnc_sysfs.c staging: dgnc: Fix unnecessary braces warning. 2014-09-23 13:36:56 -07:00
dgnc_sysfs.h staging: dgnc: renames board_t to dgnc_board 2013-09-17 07:47:43 -07:00
dgnc_tty.c staging: dgnc: delete successive assignments to the same location 2014-10-28 15:41:43 +08:00
dgnc_tty.h Staging: dgnc: Remove unused sniff code 2014-10-23 08:34:25 +08:00
dgnc_types.h staging: dgnc: Fix do not add new typedefs 2014-10-02 09:37:44 -07:00
dgnc_utils.c staging: dgnc: Move utility functions out of dgnc_driver.c 2014-08-16 12:23:13 -07:00
dgnc_utils.h staging: dgnc: Move utility functions out of dgnc_driver.c 2014-08-16 12:23:13 -07:00
digi.h Staging: dgnc: Remove space before parenthesis 2014-09-28 22:53:38 -04:00
dpacompat.h staging: dgnc: Fix no spaces at the start of a line in dpacompat.h 2014-10-02 09:37:44 -07:00
Kconfig staging: dgnc: Kconfig: add dependency PCI for it 2013-08-26 06:29:09 -07:00
Makefile staging: dgnc: Move utility functions out of dgnc_driver.c 2014-08-16 12:23:13 -07:00
TODO staging: dgnc: split two assignments into the two assignments on two lines. 2014-09-02 10:44:33 -07:00