Skip to contentSkip to conversation

staging: rtl8192u: Remove MSECS macro and its instances

PATCH Superseded Amitoj Kaur Chawla 1 participant 1 message Feb 12, 2016

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover staging: rtl8192u: Remove MSECS macro and its instances

This patchset removes MSECS macro from rtl8192u driver and all the instances by replacing MSECS with direct call to msecs_to_jiffies()

The Coccinelle semantic patch used to make this change is as follows:

//<smpl>
@@
expression e;
@@

- MSECS(e)
+ msecs_to_jiffies(e)
//</smpl>

Amitoj Kaur Chawla (6):
staging: rtl8192u: ieee80211: rtl819x_TSProc: Replace MSECS with
msecs_to_jiffies
staging: rtl8192u: ieee80211: rtl819x_BAProc: Replace MSECS with
msecs_to_jiffies
staging: rtl8192u: ieee80211: ieee80211_softmac: Replace MSECS with
msecs_to_jiffies
staging: rtl8192u: ieee80211: ieee80211_rx: Replace MSECS with
msecs_to_jiffies
staging: rtl8192u: r8192U_dm: Replace MSECS with msecs_to_jiffies
staging: rtl8192u: ieee80211: Remove MSECS macro

 drivers/staging/rtl8192u/ieee80211/ieee80211.h         | 1 -
 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c      | 3 ++-
 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c | 9 ++++++---
 drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c    | 3 ++-
 drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c    | 9 ++++++---
 drivers/staging/rtl8192u/r8192U_dm.c                   | 9 ++++++---
 6 files changed, 22 insertions(+), 12 deletions(-)
Signature · 1 line
1.9.1