diff options
author | Johannes Berg <johannes.berg@intel.com> | 2024-02-28 11:48:15 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2024-03-04 16:33:01 +0300 |
commit | b413c0bd9ccc6bf705b51ae268c3a7ebba1cd11f (patch) | |
tree | c78d1efd3eb84d1b21422e4d9bb272ceed1859ba /net/wireless | |
parent | 4d70e9c5488dd57ff5fcabe4d4ecf3d9dd4555ff (diff) | |
download | linux-b413c0bd9ccc6bf705b51ae268c3a7ebba1cd11f.tar.xz |
wifi: mac80211: remove unneeded scratch_len subtraction
We're always using "scratch + len - pos", so we don't need
to subtract here to calculate the remaining length. Remove
the unnecessary subtraction.
Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Reviewed-by: Ilan Peer <ilan.peer@intel.com>
Link: https://msgid.link/20240228094902.44e07cfa9e63.I7a9758fb9bc6b726aac49804f2f05cd521bc4128@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions