Sidong Yang
f3696bdfb6
staging: pi433: goto abort when setting failed in tx_thread
...
tx_thread in pi433 works for transmitting. it reads tx_cfg and data
stored in kfifo put in pi433_write() and transmits. If it exits,
pi433_write() just store its data and no one transmits data. So,
tx_thread should not exit even when it failed for setting registers.
It seems that it's okay to go to abort and continue to loop and wait for
writing.
Signed-off-by: Sidong Yang <realwakka@gmail.com>
Link: https://lore.kernel.org/r/20210923073115.7933-1-realwakka@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:30:27 +02:00
Michael Straube
152d9d5cde
staging: r8188eu: remove rtw_sctx_done()
...
Function rtw_sctx_done() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-48-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:43 +02:00
Michael Straube
3ce4c2633d
staging: r8188eu: remove rtw_calculate_wlan_pkt_size_by_attribue()
...
Function rtw_calculate_wlan_pkt_size_by_attribue() is not used,
remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-47-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:42 +02:00
Michael Straube
c4dd12296f
staging: r8188eu: remove rtw_init_recvframe()
...
Function rtw_init_recvframe() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-46-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:42 +02:00
Michael Straube
508557a09f
staging: r8188eu: remove rtw_enqueue_recvbuf_to_head()
...
Function rtw_enqueue_recvbuf_to_head() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-45-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:42 +02:00
Michael Straube
2bdccc6d97
staging: r8188eu: remove rtw_enqueue_recvbuf()
...
Function rtw_enqueue_recvbuf() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-44-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:42 +02:00
Michael Straube
753f368c89
staging: r8188eu: remove rtw_dequeue_recvbuf()
...
Function rtw_dequeue_recvbuf() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-43-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:42 +02:00
Michael Straube
feb6c84f90
staging: r8188eu: remove enum secondary_ch_offset
...
The enum secondary_ch_offset is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-42-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:42 +02:00
Michael Straube
cd88a0a44a
staging: r8188eu: remove rtw_set_ie_secondary_ch_offset()
...
Function rtw_set_ie_secondary_ch_offset() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-41-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:42 +02:00
Michael Straube
c3658b51f0
staging: r8188eu: remove rtw_set_ie_mesh_ch_switch_parm()
...
Function rtw_set_ie_mesh_ch_switch_parm() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-40-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:42 +02:00
Michael Straube
7f27dfd510
staging: r8188eu: remove rtw_set_ie_ch_switch()
...
Function rtw_set_ie_ch_switch() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-39-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:42 +02:00
Michael Straube
36a06fe8a6
staging: r8188eu: remove rtw_ies_remove_ie()
...
Function rtw_ies_remove_ie() is not used, remove it. It is the only
user of rtw_get_ie_ex(), remove that function as well.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-38-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:42 +02:00
Michael Straube
8a3964d3a1
staging: r8188eu: remove rtw_action_frame_parse()
...
Function rtw_action_frame_parse() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-37-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:42 +02:00
Michael Straube
4a1936f0c5
staging: r8188eu: remove ieee80211_is_empty_essid()
...
Function ieee80211_is_empty_essid() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-36-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:42 +02:00
Michael Straube
6639ffe4d8
staging: r8188eu: remove ieee80211_get_hdrlen()
...
Function ieee80211_get_hdrlen() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-35-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:41 +02:00
Michael Straube
694d888e15
staging: r8188eu: remove secondary_ch_offset_to_hal_ch_offset()
...
Function secondary_ch_offset_to_hal_ch_offset() is not used, remove
it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-34-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:41 +02:00
Michael Straube
5be1a5155b
staging: r8188eu: remove hal_ch_offset_to_secondary_ch_offset()
...
Function hal_ch_offset_to_secondary_ch_offset() is not used, remove
it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-33-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:41 +02:00
Michael Straube
5e74e1b43f
staging: r8188eu: remove dump_ies()
...
Function dump_ies() is not used, remove it. It is the only user of
the functions dump_{wps,p2p}_ie(), remove these as well.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-32-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:41 +02:00
Michael Straube
cb599f66ac
staging: r8188eu: remove action_public_str()
...
Function action_public_str() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-31-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:41 +02:00
Michael Straube
79b54a75fe
staging: r8188eu: remove rtw_IOL_cmd_buf_dump()
...
Function rtw_IOL_cmd_buf_dump() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-30-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:41 +02:00
Michael Straube
58747a854a
staging: r8188eu: remove rtw_os_read_port()
...
Function rtw_os_read_port() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-29-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:41 +02:00
Michael Straube
09a83935c1
staging: r8188eu: remove rtw_cbuf_full()
...
Function rtw_cbuf_full() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-28-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:41 +02:00
Michael Straube
48cdcb0ee9
staging: r8188eu: remove rtw_cbuf_push()
...
Function rtw_cbuf_push() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-27-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:41 +02:00
Michael Straube
e66a992586
staging: r8188eu: remove rtw_atoi()
...
Function rtw_atoi() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-26-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:41 +02:00
Michael Straube
5b3ba50171
staging: r8188eu: remove rtw_set_channel_plan()
...
Function rtw_set_channel_plan() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-25-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:41 +02:00
Michael Straube
83293ffec4
staging: r8188eu: remove rtw_validate_ssid()
...
Function rtw_validate_ssid() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-24-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:41 +02:00
Michael Straube
6c3fab164b
staging: r8188eu: remove rtw_set_scan_mode()
...
Function rtw_set_scan_mode() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-23-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:40 +02:00
Michael Straube
00721106b9
staging: r8188eu: remove rtw_set_country()
...
Function rtw_set_country() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-22-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:40 +02:00
Michael Straube
5bde5fbfbb
staging: r8188eu: remove rtw_set_802_11_remove_wep()
...
Function rtw_set_802_11_remove_wep() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-21-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:40 +02:00
Michael Straube
939d4cf79b
staging: r8188eu: remove rtw_set_802_11_remove_key()
...
Function rtw_set_802_11_remove_key() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-20-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:40 +02:00
Michael Straube
c94358d1f1
staging: r8188eu: remove rtw_set_802_11_add_key()
...
Function rtw_set_802_11_add_key() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-19-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:40 +02:00
Michael Straube
6d999c4740
staging: r8188eu: remove rtw_freq2ch()
...
Function rtw_freq2ch() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-18-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:40 +02:00
Michael Straube
548b78fe3b
staging: r8188eu: remove build_deauth_p2p_ie()
...
Function build_deauth_p2p_ie() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-17-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:40 +02:00
Michael Straube
dc91690332
staging: r8188eu: remove sreset_get_wifi_status()
...
Function sreset_get_wifi_status() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-16-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:40 +02:00
Michael Straube
e71ad25ee1
staging: r8188eu: remove issue_probereq_p2p_ex()
...
Function issue_probereq_p2p_ex() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-15-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:40 +02:00
Michael Straube
3d955b533a
staging: r8188eu: remove issue_action_spct_ch_switch()
...
Function issue_action_spct_ch_switch() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-14-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:40 +02:00
Michael Straube
3c252a5e4a
staging: r8188eu: remove rtw_scan_abort()
...
Function rtw_scan_abort() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-13-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:40 +02:00
Michael Straube
eefb514127
staging: r8188eu: remove rtw_get_timestampe_from_ie()
...
Function rtw_get_timestampe_from_ie() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-12-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:40 +02:00
Michael Straube
193331733b
staging: r8188eu: remove _rtw_enqueue_network()
...
Function _rtw_enqueue_network() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-11-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:39 +02:00
Michael Straube
1387b4fef6
staging: r8188eu: remove _rtw_dequeue_network()
...
Function _rtw_dequeue_network() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-10-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:39 +02:00
Michael Straube
1e5b9b2c6d
staging: r8188eu: remove rtw_efuse_map_read()
...
Function rtw_efuse_map_read() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-9-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:39 +02:00
Michael Straube
83ffeb638e
staging: r8188eu: remove rtw_BT_efuse_map_read()
...
Function rtw_BT_efuse_map_read() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-8-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:39 +02:00
Michael Straube
61f5e31a0d
staging: r8188eu: remove rtw_efuse_map_write()
...
Function rtw_efuse_map_write() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-7-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:39 +02:00
Michael Straube
72973fa19c
staging: r8188eu: remove rtw_efuse_access()
...
Function rtw_efuse_access() is not used, remove it. It is the only
user of the functions efuse_{read,write}8, remove these as well.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-6-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:39 +02:00
Michael Straube
1fdacbe35e
staging: r8188eu: remove rtw_BT_efuse_map_write()
...
Function rtw_BT_efuse_map_write() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-5-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:39 +02:00
Michael Straube
0069facd12
staging: r8188eu: remove efuse_GetMaxSize()
...
Function efuse_GetMaxSize is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-4-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:39 +02:00
Michael Straube
285fe7ec6a
staging: r8188eu: remove efuse_GetCurrentSize()
...
Function efuse_GetCurrentSize() is not used, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-3-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:39 +02:00
Michael Straube
bae0847d06
staging: r8188eu: remove EFUSE_ShadowRead()
...
Function EFUSE_ShadowRead() is not used, remove it. It is the only
user of the functions efuse_ShadowRead{1,2,4}Byte, remove these as
well.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-2-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:39 +02:00
Gaston Gonzalez
bc1bd400a1
staging: vchiq_arm: use __func__ to get function name in debug message
...
Avoid hardcoded function name using "%s", __func__. This prevents
potential naming conflict if the function is eventually renamed.
Reported by checkpatch.pl
Signed-off-by: Gaston Gonzalez <gascoar@gmail.com>
Link: https://lore.kernel.org/r/20210919215914.539805-8-gascoar@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:20 +02:00
Gaston Gonzalez
66eb8701cb
staging: vchiq_arm: remove extra blank line
...
Remove unnecessary blank line.
Reported by checkpatch.pl
Signed-off-by: Gaston Gonzalez <gascoar@gmail.com>
Link: https://lore.kernel.org/r/20210919215914.539805-7-gascoar@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-27 17:29:20 +02:00