Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: rtl8192u: ieee80211: ieee80211_rx.c fix checkpatch space prohibited before that '++'

Fix the following errors:
space prohibited before that '++' (ctx:WxO)

Signed-off-by: Abdul Rauf <abdulraufmujahid@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Abdul Rauf and committed by
Greg Kroah-Hartman
298291bb 0a20a614

+6 -6
+6 -6
drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c
··· 110 110 hdr_4addrqos = (struct rtl_80211_hdr_4addrqos *)hdr; 111 111 tid = le16_to_cpu(hdr_4addrqos->qos_ctl) & IEEE80211_QCTL_TID; 112 112 tid = UP2AC(tid); 113 - tid ++; 113 + tid++; 114 114 } else if (IEEE80211_QOS_HAS_SEQ(fc)) { 115 115 hdr_3addrqos = (struct rtl_80211_hdr_3addrqos *)hdr; 116 116 tid = le16_to_cpu(hdr_3addrqos->qos_ctl) & IEEE80211_QCTL_TID; 117 117 tid = UP2AC(tid); 118 - tid ++; 118 + tid++; 119 119 } else { 120 120 tid = 0; 121 121 } ··· 177 177 hdr_4addrqos = (struct rtl_80211_hdr_4addrqos *)hdr; 178 178 tid = le16_to_cpu(hdr_4addrqos->qos_ctl) & IEEE80211_QCTL_TID; 179 179 tid = UP2AC(tid); 180 - tid ++; 180 + tid++; 181 181 } else if (IEEE80211_QOS_HAS_SEQ(fc)) { 182 182 hdr_3addrqos = (struct rtl_80211_hdr_3addrqos *)hdr; 183 183 tid = le16_to_cpu(hdr_3addrqos->qos_ctl) & IEEE80211_QCTL_TID; 184 184 tid = UP2AC(tid); 185 - tid ++; 185 + tid++; 186 186 } else { 187 187 tid = 0; 188 188 } ··· 434 434 hdr_4addrqos = (struct rtl_80211_hdr_4addrqos *)header; 435 435 tid = le16_to_cpu(hdr_4addrqos->qos_ctl) & IEEE80211_QCTL_TID; 436 436 tid = UP2AC(tid); 437 - tid ++; 437 + tid++; 438 438 } else if(IEEE80211_QOS_HAS_SEQ(fc)) { //QoS 439 439 hdr_3addrqos = (struct rtl_80211_hdr_3addrqos *)header; 440 440 tid = le16_to_cpu(hdr_3addrqos->qos_ctl) & IEEE80211_QCTL_TID; 441 441 tid = UP2AC(tid); 442 - tid ++; 442 + tid++; 443 443 } else { // no QoS 444 444 tid = 0; 445 445 }