aboutsummaryrefslogtreecommitdiff
path: root/kernel/gcov/gcc_base.c
diff options
context:
space:
mode:
authorMordechay Goodstein <[email protected]>2023-03-05 14:16:31 +0200
committerJohannes Berg <[email protected]>2023-03-07 20:15:18 +0100
commit774302d2d3ad916f415d651362550daf22f630b7 (patch)
treea262ea23fb33d2ce5d560f5bf641ff1fbd06ebcd /kernel/gcov/gcc_base.c
parentbeddcdc489864e234af844d906547b1cb70e9036 (diff)
wifi: iwlwifi: mvm: clean up duplicated defines
VHT, HE and EHT rates use the same bits for NSS, so no need for defines per PHY version. Also use spatch to replace bit manipulation with FIELD_GET: @@ identifier rate; @@ -((rate & RATE_MCS_NSS_MSK) >> RATE_MCS_NSS_POS) +FIELD_GET(RATE_MCS_NSS_MSK, rate) Signed-off-by: Mordechay Goodstein <[email protected]> Signed-off-by: Gregory Greenman <[email protected]> Link: https://lore.kernel.org/r/20230305124407.167ed9477aa8.Ibd8e71d31896e8d8f067ce4e3a6e9a0e86c78f3f@changeid Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'kernel/gcov/gcc_base.c')
0 files changed, 0 insertions, 0 deletions