Tzu-En Huang 8f8b8aa62e rtw88: fix compile warning: [-Wignored-qualifiers]
Remove function return type const in rtw8821c_get_swing_index().
This is unused, and unnecessary to be const.

All warnings (new ones prefixed by >>):

>> drivers/net/wireless/realtek/rtw88/rtw8821c.c:71:8: warning: type
qualifiers ignored on function return type [-Wignored-qualifiers]
       71 | static const u8 rtw8821c_get_swing_index(struct rtw_dev *rtwdev)
          |        ^~~~~

Fixes: f745eb9ca5bf ("rtw88: 8821c: Add 8821CE to Kconfig and Makefile")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Tzu-En Huang <tehuang@realtek.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200902053402.12839-1-yhchuang@realtek.com
2020-09-07 11:29:38 +03:00
..
2020-07-15 12:08:14 +03:00
2020-08-02 18:05:19 +03:00
2020-08-02 18:05:19 +03:00
2020-04-23 07:47:26 +03:00
2020-08-27 13:01:59 +03:00
2020-05-13 18:48:44 +03:00
2020-07-15 12:06:51 +03:00
2020-07-15 12:06:51 +03:00
2019-10-02 07:33:49 +03:00
2020-01-26 17:37:03 +02:00
2020-01-26 17:37:05 +02:00