Phillip Potter
1f0cf855dc
remove function _rtw_vmalloc
...
Remove the function _rtw_vmalloc from os_dep/osdep_service.c, converting
its only user (also in os_dep/osdep_service.c) to use plain vmalloc.
This function is just an inline wrapper around vmalloc which returns a u8
pointer, which isn't needed. Also remove the declaration from
include/osdep_service.h.
It is considered generally bad practice to declare functions as inline in
the majority of cases, as not only can this qualifier be ignored by the
compiler but the compiler generally makes good decisions about inlining
anyway.
Link: https://lore.kernel.org/r/20210818234853.208448-4-phil@philpotter.co.uk
2021-10-11 15:50:48 +02:00
Phillip Potter
6e2f371df5
remove rtw_vmalloc preprocessor definition
...
Remove rtw_vmalloc preprocessor definition from include/osdep_service.h
as it now has no callers.
Link: https://lore.kernel.org/r/20210818234853.208448-3-phil@philpotter.co.uk
2021-10-11 15:46:55 +02:00
Larry Finger
9ad10523e3
Remove wrapper rtw_sleep_schedulable()
...
This wrapper is never used.
Link: https://lore.kernel.org/r/20210805192644.15978-6-Larry.Finger@lwfinger.net
2021-10-11 13:03:59 +02:00
Larry Finger
a5adfa895b
Remove wrapper rtw_udelay_os()
...
This wrapper is a simple call to udelay(). Remove it.
Link: https://lore.kernel.org/r/20210805192644.15978-4-Larry.Finger@lwfinger.net
2021-10-11 13:00:27 +02:00
Larry Finger
7f8451a86e
Remove wrapper rtw_mdelay_os()
...
This wrapper just calls mdelay(). Remove it.
Link: https://lore.kernel.org/r/20210805192644.15978-3-Larry.Finger@lwfinger.net
2021-10-11 12:57:06 +02:00
Larry Finger
fdbea81f08
Remove wrapper routine rtw_msleep_os()
...
The effect of this macro is to call msleep(). Remove the wrapper.
Link: https://lore.kernel.org/r/20210805192644.15978-2-Larry.Finger@lwfinger.net
2021-10-11 10:44:02 +02:00
Larry Finger
1fcfef2e07
Remove rtw_yield_os()
...
This wrapper is just a call to yield().
Link: https://lore.kernel.org/r/20210805192644.15978-1-Larry.Finger@lwfinger.net
2021-10-11 10:44:02 +02:00
Larry Finger
51e1f13a91
Remove all calls to _rtw_spinlock_free()
...
This routine is empty, thus all calls to it can be removed.
Link: https://lore.kernel.org/r/20210805183717.23007-4-Larry.Finger@lwfinger.net
2021-10-11 10:44:02 +02:00
Larry Finger
34ec238387
Remove wrapper around vfree
...
This call is so simple that there is no need, or use, for a wrapper.
Link: https://lore.kernel.org/r/20210805183717.23007-3-Larry.Finger@lwfinger.net
2021-10-11 10:44:02 +02:00
Larry Finger
4d3d23dd24
Remove wrapper around do_div
...
Wrapper routine rtw_modular64() contains only a call to do_div() and
is used once in the code. Remove the wrapper.
Link: https://lore.kernel.org/r/20210803135223.12543-9-Larry.Finger@lwfinger.net
2021-10-11 10:44:02 +02:00
Larry Finger
d7c3737cd5
Remove wrappers for atomic operations
...
These wrappers were useful when this driver had the hooks for Windows,
but are no longer needed.
Link: https://lore.kernel.org/r/20210802192721.23110-4-Larry.Finger@lwfinger.net
2021-10-11 10:44:02 +02:00
Greg Kroah-Hartman
ac1790da7c
remove rtw_mfree2d() function
...
It is just a wrapper around kfree(), so remove it and just call kfree()
instead.
Adaptation of: https://lore.kernel.org/r/20210730092417.1014392-7-gregkh@linuxfoundation.org
2021-10-11 10:44:01 +02:00
Carlos Garces
1d807f14d8
Add version v5.6.4
2019-11-13 22:12:20 +01:00
Carlos Garces
80a0cb2c1a
Update for kernel 4.15
...
This commit adds support for kernel 4.15, which changed the timer interface.
Fetch from 8c3acf9275
2018-01-04 00:49:20 +01:00
Carlos Garcés
c898434525
Fix build for API changes in kernel 4.11
2017-05-27 15:03:28 +02:00
CGarces
3d6c7de21a
Updated to 4.4.1
2017-05-11 20:49:39 +02:00
CGarces
9dde4572b4
Updated to v4.3.8_12406.20140929
2017-05-11 20:38:48 +02:00
Magnus Bergmark
1387cf623d
The official RTL8192EU linux driver from D-Link Australia
...
Version information: 20140812_rtl8192EU_linux_v4.3.1.1_11320
2014-08-12
version 4.3.1.1_11320
Source:
ftp://files.dlink.com.au/products/DWA-131/REV_E/Drivers/DWA-131_Linux_driver_v4.3.1.1.zip
This version does not currently work on newer kernels, but it does
contain USB ID 2001:3319, which a lot of other repos in GitHub does not.
2015-08-18 21:03:11 +02:00