James A Shackleford
534c4acd1d
staging: rtl8712: remove wrapper function _init_listhead
...
_init_listhead is just an inline wrapper around INIT_LIST_HEAD. This
patch removes the wrapper and directly uses INIT_LIST_HEAD instead.
Signed-off-by: James A Shackleford <shack@linux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:33:15 -04:00
Rickard Strandqvist
9c9a95b619
drivers/staging/rtl8821ae: replace magic number by macro
...
For consistency with other drivers, replace a magic number by a macro.
Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:32:12 -04:00
James A Shackleford
084e5d285d
staging: rtl8712: remove unused inline _RND512()
...
Signed-off-by: James A Shackleford <shack@linux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:31:02 -04:00
James A Shackleford
d6a61ba40c
staging: rtl8712: remove unused inline _RND256()
...
Signed-off-by: James A Shackleford <shack@linux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:31:02 -04:00
James A Shackleford
fa86745332
staging: rtl8712: remove inline _RND128() and use round_up()
...
Signed-off-by: James A Shackleford <shack@linux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:31:02 -04:00
James A Shackleford
d913e54ef0
staging: rtl8712: remove inline _RND8() and use round_up()
...
Signed-off-by: James A Shackleford <shack@linux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:31:02 -04:00
Rasmus Villemoes
83543d328f
drivers/staging/rtl8821ae/rtl8821ae: Remove dead code
...
This is all #if 0'ed out, and it contains some rather weird stuff
(post-increment of a bool, for example). Nuke it.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:28:55 -04:00
navin patidar
5aa8b9aeb8
staging: rtl8188eu: Replace _cancel_timer() with del_timer_sync()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:15 -04:00
navin patidar
7062775b2c
staging: rtl8188eu: Remove function flush_signals_thread()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:15 -04:00
navin patidar
6e5ca0daa2
staging: rtl8188eu: Remove function thread_enter()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:15 -04:00
navin patidar
42c6cdb304
staging: rtl8188eu: Use round_up() instead of RND4()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:15 -04:00
navin patidar
fdc95f5f4a
staging: rtl8188eu: osdep_service.h: Remove unused macros
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:15 -04:00
navin patidar
eab5d5438a
staging: rtl8188eu: Use round_up() instead of _RND4()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:15 -04:00
navin patidar
248df424eb
staging: rtl8188eu: Use round_up() instead of _RND8()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:15 -04:00
navin patidar
fe5e6cf52c
staging: rtl8188eu: Use round_up() instead of _RND128()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:15 -04:00
navin patidar
588aa70abf
staging: rtl8188eu: Remove unused inline function _RND256()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:14 -04:00
navin patidar
122adb2704
staging: rtl8188eu: osdep_service.h: Remove unused function definations
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:14 -04:00
navin patidar
83a9b6694d
staging: rtl8188eu: Use cpu_to_le16() insted of RTW_PUT_LE16()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:14 -04:00
navin patidar
4b49a5b39a
staging: rtl8188eu: Use get_unaligned_le16() instead of RTW_GET_LE16()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:14 -04:00
navin patidar
e42b1f2729
staging: rtl8188eu: Remove unused inline function bitshift()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:14 -04:00
navin patidar
27c8aac7a3
staging: rtl8188eu: Use get_unaligned_be16() instead of RTW_GET_BE16()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:14 -04:00
navin patidar
506a42a686
staging: rtl8188eu: Use cpu_to_be16() instead of RTW_PUT_BE16()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:14 -04:00
navin patidar
02b1c00d50
staging: rtl8188eu: Use cpu_to_be32() instead of RTW_PUT_BE32()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:14 -04:00
navin patidar
c495fc9eba
staging: rtl8188eu: Replace _cancel_timer_ex() with del_timer_sync()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:14 -04:00
navin patidar
f31dcb4d96
staging: rtl8188eu: Remove unused inline function _RND512()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:14 -04:00
navin patidar
dee7c7f8f0
staging: rtl8188eu: Replace _cancel_workitem_sync() with cancel_work_sync()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:13 -04:00
navin patidar
f7091bc63a
staging: rtl8188eu: Replace _rtw_queue_empty() with list_empty()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:13 -04:00
navin patidar
5f223b9533
staging: rtl8188eu: osdep_service.c: Remove unused macro
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:13 -04:00
navin patidar
8d5bdece42
staging: rtl8188eu: Replace rtw_list_delete() with list_del_init()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:13 -04:00
navin patidar
ba598a16a2
staging: rtl8188eu: osdep_service.h: Remove unused macro, enum and variables
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:13 -04:00
navin patidar
8151ee9def
staging: rtl8188eu: Remove unused function rtw_get_time_interval_ms()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:13 -04:00
navin patidar
8670c6be4c
staging: rtl8188eu: Remove unused function rtw_division64()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:13 -04:00
navin patidar
fadbe0cd52
staging: rtl8188eu:Remove rtw_zmalloc(), wrapper for kzalloc()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:13 -04:00
navin patidar
a733e46751
staging: rtl8188eu: Use kstrtoul() for string to long conversion
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:13 -04:00
navin patidar
fb46424e6c
staging: rtl8188eu: Remove unused function rtw_sleep_schedulable()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:13 -04:00
navin patidar
aa3f5ccb01
staging: rtl8188eu: Remove _rtw_init_listhead(), wrapper for INIT_LIST_HEAD()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:12 -04:00
navin patidar
9c4b0e70af
staging: rtl8188eu: Remove rtw_is_list_empty(), wrapper for list_emty()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:12 -04:00
navin patidar
8466070080
staging: rtl8188eu: Remove function rtw_end_of_queue_search()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:12 -04:00
navin patidar
ae6787ad4a
staging: rtl8188eu: Remove rtw_list_insert_tail(), wrapper for list_add_tail()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:12 -04:00
navin patidar
03a6f3e6a6
staging: rtl8188eu: Remove unused function rtw_list_insert_head()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:12 -04:00
navin patidar
b49f224d0d
staging: rtl8188eu: Remove rtw_mfree2d(), wrapper for kfree()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:12 -04:00
navin patidar
1ce39848e1
staging: rtl8188eu: Remove function _rtw_memset()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:12 -04:00
navin patidar
56ed3914b0
staging: rtl8188eu: Remove dummy rtl8188eu_free_xmit_priv() and its wrapper
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:12 -04:00
navin patidar
a42a58012c
staging: rtl8188eu: Remove dummy function Hal_InitChannelPlan()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:12 -04:00
navin patidar
f9891af638
staging: rtl8188eu: Remove dummy rtl8188e_stop_thread() and its wrapper
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:11 -04:00
navin patidar
5bc7dc1919
staging: rtl8188eu: Remove dummy rtl8188e_start_thread() and its wrapper
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:11 -04:00
navin patidar
3491b66c6f
staging: rtl8188eu: Remove dummy rtl8188e_GetHalODMVar() and its wrapper
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:11 -04:00
navin patidar
276b5e537c
staging: rtl8188eu: Remove dummy function CheckFwRsvdPageContent()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:11 -04:00
navin patidar
83f53fceec
staging: rtl8188eu: Remove dummy function odm_DynamicTxPower()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:27:11 -04:00
navin patidar
17452ee9d3
staging: rtl8188eu: Merge usb_ops.h into usb_ops_linux.h
...
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 20:25:47 -04:00