linux/drivers/staging/rtl8192u
Gargi Sharma 4cad158910 staging: rtl8192u: Remove multiple assignments
This patch removes multiple assignments by factorizing them.
This was done with Coccinelle for the if branch. For the else part
the change was done manually since Coccinelle only detects constants.
Braces were also added to the else part to remove the checkpatch
warning, "braces should be on all arms of if-else statements".

@@
identifier i1,i2;
constant c;
@@
- i1=i2=c;
+ i1=c;
+ i2=c;

Signed-off-by: Gargi Sharma <gs051095@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-16 11:34:53 +09:00
..
ieee80211 staging: rtl8192u: ieee80211: Remove code in comments 2017-03-14 08:03:57 +08:00
authors
changes
copying
Kconfig
Makefile
r819xU_cmdpkt.c staging: rtl8192u: Replace "is is" with "is" 2017-03-07 20:00:22 +01:00
r819xU_cmdpkt.h Staging: rtl8192u: r819xU_cmdpkt.h - style fix 2017-02-12 13:37:13 +01:00
r819xU_firmware_img.c
r819xU_firmware_img.h
r819xU_firmware.c staging: rtl8192u: Fixing no new typedef warning 2017-02-12 13:48:33 +01:00
r819xU_firmware.h
r819xU_phy.c Staging: rtl8192u: r819xU_phy.c - style fix 2017-02-12 13:35:26 +01:00
r819xU_phy.h
r819xU_phyreg.h
r8180_93cx6.c Staging: rtl8192u: r8180_93cx6.c - style fix 2017-02-12 13:40:47 +01:00
r8180_93cx6.h staging: rtl8192u: Removed multiple white lines. 2017-01-16 18:08:57 +01:00
r8190_rtl8256.c Staging: rtl8192u: r8190_rtl8256.c - style fix 2017-02-12 13:40:47 +01:00
r8190_rtl8256.h Staging: rtl8192u: r8190_rtl8256.h - style fix 2017-02-12 13:40:47 +01:00
r8192U_core.c staging: rtl8192u: Remove typedef phy_ofdm_rx_status_rxsc_sgien_exintfflag 2017-03-12 14:46:34 +01:00
r8192U_dm.c staging: rtl8192u: Remove multiple assignments 2017-03-16 11:34:53 +09:00
r8192U_dm.h
r8192U_hw.h Staging: rtl8192u: r8192U_hw.h - style fix 2017-02-12 13:40:47 +01:00
r8192U_wx.c staging: rtl8192u: Fix indentation 2017-02-09 13:23:13 +01:00
r8192U_wx.h
r8192U.h staging: rtl8192u: Remove typedef phy_ofdm_rx_status_rxsc_sgien_exintfflag 2017-03-12 14:46:34 +01:00