Commit graph

711 commits

Author SHA1 Message Date
Larry Finger
c25b5250a8 rtl8188eu: Remove conditional #if 1
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-12 21:16:19 -06:00
Larry Finger
f0050d3365 rtl8188eu: Remove dead code inside #if 0 .... #endif
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-12 19:26:10 -06:00
Larry Finger
e3e242b712 rtl8188eu: Remove tests on macro CONFIG_80211N_HT
This one is always selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-12 14:06:58 -06:00
Larry Finger
e9184bd34c rtl8188eu: Remove dead code for IS_HARDWARE_TYPE_
The 8188eu is an 802.11n device.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-12 12:55:23 -06:00
Larry Finger
0c57c68d3e rtl8188eu: Remove all macros and tests of the type IS_HARDWARE_TYPE_XXX
Only IS_HARDWARE_TYPE_8188E is kept.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-12 12:10:32 -06:00
Larry Finger
4ff88c48d1 rtl8188eu: Remove all dead code in support of chips other than RTL8188EU
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-09 00:54:41 -06:00
Larry Finger
8576d2647a rtl8188eu: Remove more dead code for DM_ODM_SUPPORT_TYPE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-09 00:18:08 -06:00
Larry Finger
5a3f5f894a rtl8188eu: Fix build error when concurrent devies are enabled
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-08 16:33:18 -06:00
Larry Finger
f4cc4ed0a2 rtl8188eu: Remove more code dependent on DM_ODM_SUPPORT_TYPE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-05 21:28:32 -06:00
Larry Finger
3fc952a0d5 rtl8188eu: Remove code that is used for DM_ODM_SUPPORT_TYPE other than ODM_CE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-04 01:10:22 -05:00
Larry Finger
9bfd2a3556 rtl8188eu: Remove code used bhy devices other than USB in core/
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-03 21:24:08 -05:00
Larry Finger
9c1dc7d65f rtl8188eu: Remove code for connections other than USB in os_dep/
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-03 20:52:04 -05:00
Larry Finger
2abe025887 rtl8188eu: Remove code for other than USB devices in hal/
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-03 20:35:45 -05:00
Larry Finger
681e680993 rtl8188eu: Remove dead code for connections other than USB
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-03 16:31:56 -05:00
Larry Finger
fec17178bc rtl8188eu: Simplify Makefile
In addition, unused files are removed.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-03 15:16:57 -05:00
Larry Finger
22421e29fb rtl8188eu: Replace all instances if __FUNCTION__ with __func__
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-03 14:22:43 -05:00
Larry Finger
2b8372b0af rtl8188eu: Remove dead code for devices other than RTL8188EU
This commit handles files in os_dep/.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-03 14:09:41 -05:00
Larry Finger
0fcf3c2f5e rtl8188eu: Remove dead code for devices other than RTL8188EU
This commit handles files in hal/.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-03 14:04:16 -05:00
Larry Finger
539f476e87 rtl8188eu: Remove dead code for devices other than RTL8188EU
This commit handles files in core/.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-03 13:36:00 -05:00
Larry Finger
4880865d31 rtl8188eu: Remove dead code for devices other than RTL8188EU
This commit handles files in include/.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-03 01:01:20 -05:00
Larry Finger
bf88fed9a4 rtl8188eu: Fix a number of sparse warnings
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-03 00:39:38 -05:00
Larry Finger
96ff2341a9 rtl8188eu: Update device tables
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-01 09:32:27 -05:00
Larry Finger
bbc8dd8720 Merge branch 'v5.2.2.4' of http://github.com/lwfinger/rtl8188eu into v5.2.2.4 2018-11-01 09:17:58 -05:00
Larry Finger
7c7b83836e rtl8188eu: Fix more sparse warnings
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-29 10:58:36 -05:00
Larry Finger
c1068fee54 rtl8188eu: Fix more sparse warnings
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-25 14:23:42 -05:00
Larry Finger
e36aed3385 rtl8188eu: Fix more sparse warnings
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-25 12:17:32 -05:00
Larry Finger
ff8b540826 rtl8188eu: Fix some sparse warnings
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-25 12:08:57 -05:00
Larry Finger
c589c7a0c2 rtl8188eu: Remove a couple of useless routines from platform/
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-25 11:31:36 -05:00
Larry Finger
6882712849 rtl8188eu: Remove more files that are not needed
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-24 19:11:50 -05:00
Larry Finger
642f6effc3 rtl8188eu: Remove local byte endian operations
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-24 19:06:22 -05:00
Larry Finger
94afbb0df3 rtl8188eu: Convert to use __LITTLE_ENDIAN symbol from kernel
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-24 17:25:46 -05:00
Larry Finger
11c5d28b89 rtl8188eu: Remove some files only used for PCIE or SDIO
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-24 16:57:57 -05:00
Larry Finger
e0d59adcf6 rtl8188eu: Flatted os_dep/linux/ into os_dep/
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-24 16:53:39 -05:00
Larry Finger
18b0977770 rtl8188eu: Remove files not needed in include/
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-24 16:48:25 -05:00
Larry Finger
82f1f8f937 rtl8188eu: Flatten hal/rtl8188e/ into hal/ and hal/phydm/rtl8188e into hal/phydm
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-22 14:32:44 -05:00
Larry Finger
0dc256adfc rtl8188eu: Flatten hal/ by removing hal/led
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-22 14:02:34 -05:00
Larry Finger
716b72b8c5 rtl8188eu: Flatten hal/ by removing hal/hal_hci
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-22 14:00:43 -05:00
Larry Finger
010390f8d0 rtl8188eu: Remove some unused files and remove code for platforms other than Linux in os_dep/
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-22 13:56:29 -05:00
Larry Finger
038e7c215b rtl8188eu: Remove code for platforms other than Linux in hal/
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-20 14:52:30 -05:00
Larry Finger
85ec7cf9ce rtl8188eu: Remove code for platforms other than Linux in core/
Code in #if 0 .. #endif blocks is alsop removed as well as multiple blank lines.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-20 14:03:14 -05:00
Larry Finger
9fad4d2d0d rtl8188eu: Slow the spamming of the logs
A number of unconditional print statements are converted to conditional.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-20 13:03:01 -05:00
Larry Finger
b48387bdc8 Merge branch 'v5.2.2.4' of http://github.com/lwfinger/rtl8188eu into v5.2.2.4 2018-10-19 21:59:45 -05:00
Larry Finger
433f07c9f3 rtl8188eu: Fix bug in changes to build with kernels 4.15+
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-19 21:53:32 -05:00
Larry Finger
841934da48 rtl8188eu: Remove special code for Windows and FreeBSD from include/
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-19 15:16:35 -05:00
Larry Finger
d8ced1a187 rtl8188eu: Remove _rtw_spinlock_init
This function is the same as spin_lock_init()

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-19 11:48:13 -05:00
Larry Finger
9d1d96c95d rtl8188eu: Update for driver to build on kernel 4.19
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-19 11:28:43 -05:00
Larry Finger
5091f62ae1 rtl8188eu: Update for driver to build on kernel 4.19
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-18 20:33:29 -05:00
Larry Finger
f62909c0c1 rtl8188eu: Fix warnings when building with 4.19+
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-15 16:00:58 -05:00
Larry Finger
ab27643547 rtl8188eu: Remove all unused code for DM_ODM_SUPPORT_TYPE of ODM_WIN and ODM_AP
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-15 12:06:18 -05:00
Larry Finger
e5bc0e7d9b rtl8188eu: Remove DM_ODM_SUPPORT_TYPE tests
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-15 03:31:28 -05:00