[Madwifi-cvs] revision 4162 committed
Status: Beta
Brought to you by:
otaku
From: Pavel R. <svn...@ma...> - 2011-08-03 06:25:57
|
Project : madwifi Revision : 4162 Author : proski (Pavel Roskin) Date : 2011-08-03 08:25:42 +0200 (Wed, 03 Aug 2011) Log Message : Don't use "{ 0 }" to initialize structures, use "{ }" Affected Files: * madwifi/branches/madwifi-0.9.4/ath/if_ath.c updated * madwifi/branches/madwifi-0.9.4/ath/if_ath_pci.c updated * madwifi/branches/madwifi-0.9.4/ath_hal/ah_os.c updated * madwifi/branches/madwifi-0.9.4/ath_rate/amrr/amrr.c updated * madwifi/branches/madwifi-0.9.4/ath_rate/onoe/onoe.c updated * madwifi/branches/madwifi-0.9.4/net80211/ieee80211_linux.c updated Modified: madwifi/branches/madwifi-0.9.4/ath/if_ath.c =================================================================== --- madwifi/branches/madwifi-0.9.4/ath/if_ath.c 2011-08-03 05:43:55 UTC (rev 4161) +++ madwifi/branches/madwifi-0.9.4/ath/if_ath.c 2011-08-03 06:25:42 UTC (rev 4162) @@ -9700,7 +9700,7 @@ .proc_handler = ath_sysctl_halparam, .extra2 = (void *)ATH_INTMIT, }, - { 0 } + { } }; static void @@ -9885,21 +9885,21 @@ .extra2 = &maxint, .proc_handler = proc_dointvec_minmax }, - { 0 } + { } }; static ctl_table ath_ath_table[] = { { ATH_INIT_CTL_NAME(DEV_ATH) .procname = "ath", .mode = 0555, .child = ath_static_sysctls - }, { 0 } + }, { } }; static ctl_table ath_root_table[] = { { ATH_INIT_CTL_NAME(CTL_DEV) .procname = "dev", .mode = 0555, .child = ath_ath_table - }, { 0 } + }, { } }; static struct ctl_table_header *ath_sysctl_header; Modified: madwifi/branches/madwifi-0.9.4/ath/if_ath_pci.c =================================================================== --- madwifi/branches/madwifi-0.9.4/ath/if_ath_pci.c 2011-08-03 05:43:55 UTC (rev 4161) +++ madwifi/branches/madwifi-0.9.4/ath/if_ath_pci.c 2011-08-03 06:25:42 UTC (rev 4162) @@ -112,7 +112,7 @@ { 0x168c, 0x001c, PCI_ANY_ID, PCI_ANY_ID }, /* PCI Express 5424 */ { 0x168c, 0x001d, PCI_ANY_ID, PCI_ANY_ID }, /* PCI Express ??? */ { 0x168c, 0x9013, PCI_ANY_ID, PCI_ANY_ID }, /* sonicwall */ - { 0 } + { } }; static u16 ath_devidmap[][2] = { Modified: madwifi/branches/madwifi-0.9.4/ath_hal/ah_os.c =================================================================== --- madwifi/branches/madwifi-0.9.4/ath_hal/ah_os.c 2011-08-03 05:43:55 UTC (rev 4161) +++ madwifi/branches/madwifi-0.9.4/ath_hal/ah_os.c 2011-08-03 06:25:42 UTC (rev 4162) @@ -486,28 +486,28 @@ .proc_handler = proc_dointvec }, #endif - { 0 } + { } }; static ctl_table ath_hal_table[] = { { ATH_INIT_CTL_NAME(CTL_AUTO) .procname = "hal", .mode = 0555, .child = ath_hal_sysctls - }, { 0 } + }, { } }; static ctl_table ath_ath_table[] = { { ATH_INIT_CTL_NAME(DEV_ATH) .procname = "ath", .mode = 0555, .child = ath_hal_table - }, { 0 } + }, { } }; static ctl_table ath_root_table[] = { { ATH_INIT_CTL_NAME(CTL_DEV) .procname = "dev", .mode = 0555, .child = ath_ath_table - }, { 0 } + }, { } }; static struct ctl_table_header *ath_hal_sysctl_header; Modified: madwifi/branches/madwifi-0.9.4/ath_rate/amrr/amrr.c =================================================================== --- madwifi/branches/madwifi-0.9.4/ath_rate/amrr/amrr.c 2011-08-03 05:43:55 UTC (rev 4161) +++ madwifi/branches/madwifi-0.9.4/ath_rate/amrr/amrr.c 2011-08-03 06:25:42 UTC (rev 4162) @@ -524,28 +524,28 @@ .extra2 = &maxint, .proc_handler = proc_dointvec_minmax }, - { 0 } + { } }; static ctl_table ath_rate_table[] = { { ATH_INIT_CTL_NAME(CTL_AUTO) .procname = "rate", .mode = 0555, .child = ath_rate_static_sysctls - }, { 0 } + }, { } }; static ctl_table ath_ath_table[] = { { ATH_INIT_CTL_NAME(DEV_ATH) .procname = "ath", .mode = 0555, .child = ath_rate_table - }, { 0 } + }, { } }; static ctl_table ath_root_table[] = { { ATH_INIT_CTL_NAME(CTL_DEV) .procname = "dev", .mode = 0555, .child = ath_ath_table - }, { 0 } + }, { } }; static struct ctl_table_header *ath_sysctl_header; Modified: madwifi/branches/madwifi-0.9.4/ath_rate/onoe/onoe.c =================================================================== --- madwifi/branches/madwifi-0.9.4/ath_rate/onoe/onoe.c 2011-08-03 05:43:55 UTC (rev 4161) +++ madwifi/branches/madwifi-0.9.4/ath_rate/onoe/onoe.c 2011-08-03 06:25:42 UTC (rev 4162) @@ -469,28 +469,28 @@ .maxlen = sizeof(ath_rate_raise_threshold), .proc_handler = proc_dointvec }, - { 0 } + { } }; static ctl_table ath_rate_table[] = { { ATH_INIT_CTL_NAME(CTL_AUTO) .procname = "rate", .mode = 0555, .child = ath_rate_static_sysctls - }, { 0 } + }, { } }; static ctl_table ath_ath_table[] = { { ATH_INIT_CTL_NAME(DEV_ATH) .procname = "ath", .mode = 0555, .child = ath_rate_table - }, { 0 } + }, { } }; static ctl_table ath_root_table[] = { { ATH_INIT_CTL_NAME(CTL_DEV) .procname = "dev", .mode = 0555, .child = ath_ath_table - }, { 0 } + }, { } }; static struct ctl_table_header *ath_sysctl_header; Modified: madwifi/branches/madwifi-0.9.4/net80211/ieee80211_linux.c =================================================================== --- madwifi/branches/madwifi-0.9.4/net80211/ieee80211_linux.c 2011-08-03 05:43:55 UTC (rev 4161) +++ madwifi/branches/madwifi-0.9.4/net80211/ieee80211_linux.c 2011-08-03 06:25:42 UTC (rev 4162) @@ -659,7 +659,7 @@ .mode = 0444, .proc_handler = proc_dostring }, - { 0 } + { } }; void |