Make them const as they are not modified in the file referencing
them. They are only stored in the const field 'hw_ce_reg' of an ath10k
structure. Also, make the declarations in the header const.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/net/wireless/ath/ath10k/hw
Make these const as they are only stored in the const field of a
net_device structure.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/net/wireless/intel/ipw2x00/ipw2100.c | 4 ++--
drivers/net/wireless/intel/ipw2x00/ipw2200.c | 2 +-
2 files changed, 3 insertions(+), 3 del
rate_control_ops structure is only passed as an argument to the
function ieee80211_rate_control_{register/unregister}. This argument
is of type const, so declare the structure as const.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
Changes in v2:
* Change subject line.
drive
ath_ps_ops structures are only stored as a reference in the ps_ops
field of a ath_common structure. This field is of type const, so make
the structures as const.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/net/wireless/ath/ath9k/htc_drv_init.c | 2 +-
drivers/net/wirele
Add const to bin_attribute structure as it is only passed to the
functions sysfs_{remove/create}_bin_file. The corresponding
arguments are of type const, so declare the structure to be const.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/net/ethernet/qlogic/qlcnic/qlcnic_s
Add const to bin_attribute structure as it is only passed to the
functions sysfs_{remove/create}_bin_file. The corresponding arguments
are of type const, so declare the structure to be const.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/net/wireless/ti/wlcore/sysfs.c | 2
Declare hwbus_ops structures as const as they are only passed as an
argument to the function cw1200_core_probe. This argument is of type
const. So, make these structures const.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/net/wireless/st/cw1200/cw1200_sdio.c | 2 +-
drive
Declare thermal_cooling_device_ops structure as const as it is only passed
as an argument to the function thermal_cooling_device_register and this
argument is of type const. So, declare the structure as const.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/net/wireless/ath/
Declare thermal_cooling_device_ops structure as const as it is only passed
as an argument to the function thermal_cooling_device_register and this
argument is of type const. So, declare the structure as const.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/net/wireless
1954 16 231955a9b wireless/marvell/libertas/cfg.o
File size after:
textdata bss dec hex filename
220411154 16 232115aab wireless/marvell/libertas/cfg.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/net/wireless/marvell/li
6632 0 2476560bd wireless/ath/wil6210/cfg80211.o
File size after:
textdata bss dec hex filename
189335832 0 2476560bd wireless/ath/wil6210/cfg80211.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/net/wireless/ath/wil6210/cf
On Sat, Dec 3, 2016 at 2:09 AM, Larry Finger <larry.fin...@lwfinger.net> wrote:
> On 12/02/2016 03:50 AM, Bhumika Goyal wrote:
>>
>> The structures rate_control_ops are only passed as an argument to the
>> functions ieee80211_rate_control_{register/unregister}. This a
wireless/realtek/rtlwifi/rc.o
File size after:
textdata bss dec hex filename
2095 0 02095 wireless/realtek/rtlwifi/rc.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/net/wireless/realtek/rtlwifi/rc.c | 2 +-
1 file changed, 1 ins
1359 176 01535 5ff ath/ath9k/ahb.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/net/wireless/ath/ath9k/ahb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath9k/ahb.c
b/drivers/net/wireless/ath/ath9k/ahb.c
The functions rtw_enqueue_recvbuf23a and rtw_enqueue_recvbuf23a_to_head
are never used anywhere in the kernel. So, remove their definition and
prototype.
Grepped to find occurences.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/staging/rtl8723au/core/rtw_recv.c
The functions rtw_get_oper_bw23a and rtw_get_oper_ch23aoffset are never
used anywhere in the kernel. So, remove their definition and prototype.
Grepped to find occurences.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/staging/rtl8723au/core/rtw_wlan_util.c
16 matches
Mail list logo