Carlos Garces
1c50f4c603
Removed unused and empty functions
2021-10-12 16:02:19 +02:00
Phillip Potter
2a467a7923
convert all rtw_zvmalloc calls to vzalloc calls
...
Convert all rtw_zvmalloc calls within the driver to use the existing
kernel vzalloc function, which has the same semantics. Also rewrite the
two places where it is mentioned in comments to say vzalloc, and remove
the redundant cast to struct adapter * in ./os_dep/usb_intf.c as vzalloc
returns void *.
The reason for the conversion is that rtw_zvmalloc is just a
preprocessor definition for _rtw_zvmalloc which itself is just an inline
wrapper around vmalloc which then zeroes the memory out. As vzalloc does
the same thing via usage of __GFP_ZERO, this code is redundant and can
subsequently be removed.
Link: https://lore.kernel.org/r/20210818234853.208448-5-phil@philpotter.co.uk
2021-10-11 15:59:59 +02:00
Michael Straube
03af80bee9
replace custom macros with is_broadcast_ether_addr
...
Replace usage of custom macros with is_broadcast_ether_addr. All buffers
are properly aligned. Remove the now unsued macros MacAddr_isBcst and
IS_MAC_ADDRESS_BROADCAST.
Link: https://lore.kernel.org/r/20210805205010.31192-1-straube.linux@gmail.com
2021-10-11 13:29:13 +02:00
Martin Kaiser
2965c273c9
remove the RT_TRACE macro
...
We've deleted all RT_TRACE calls. The macro itself can now be removed
as well.
Link: https://lore.kernel.org/r/20210807153636.11712-13-martin@kaiser.cx
2021-10-11 13:18:29 +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
Carlos Garcés
cf246719f1
Remove wrapper for memset()
...
Link: 545d963a9e (diff-16d649c4743131c1aae5f812af5596dae6423bb63eaaf2990b8c89c9a681a913)
2021-10-11 12:09:34 +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
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
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
CGarces
3d6c7de21a
Updated to 4.4.1
2017-05-11 20:49:39 +02:00