OpenCloudOS-Kernel/drivers/net/wireless/rtlwifi/rtl8723com
Joe Perches 1851cb4a0f rtlwifi: Remove casts of pointer to same type
Casting a pointer to a pointer of the same type is pointless,
so remove these unnecessary casts.

Around these changes:

o Remove unnecessary parentheses
o Use consistent dereference style (change ptr[0] to *ptr)
o Argument alignment

Done via coccinelle script: (and some typing)

$ cat typecast_2.cocci
@@
type T;
T *foo;
@@

-	(T *)foo
+	foo

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2014-03-27 14:20:05 -04:00
..
Makefile rtlwifi: rtl8723ae: rtl8723-common: Copy common dynamic power management code 2014-03-04 13:19:38 -05:00
dm_common.c rtlwifi: rtl8723ae: rtl8723-common: Copy common dynamic power management code 2014-03-04 13:19:38 -05:00
dm_common.h rtlwifi: rtl8723ae: rtl8723-common: Copy common dynamic power management code 2014-03-04 13:19:38 -05:00
fw_common.c rtlwifi: Remove casts of pointer to same type 2014-03-27 14:20:05 -04:00
fw_common.h rtlwifi: rtl8723ae: rtl8723-common: Copy common firmware code 2014-03-04 13:19:37 -05:00
main.c rtlwifi: rtl8723ae: rtl8723-common: Create new driver for common code 2014-03-04 13:19:37 -05:00
phy_common.c rtlwifi: rtl8723ae: rtl8723-common: Create new driver for common code 2014-03-04 13:19:37 -05:00
phy_common.h rtlwifi: rtl8723ae: rtl8723-common: Create new driver for common code 2014-03-04 13:19:37 -05:00