]> git.ipfire.org Git - thirdparty/iw.git/commit
iw: small cleanup for the sizer code
authorJohannes Berg <johannes.berg@intel.com>
Thu, 28 Feb 2019 21:28:19 +0000 (22:28 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 28 Feb 2019 21:28:48 +0000 (22:28 +0100)
commit4323f5a91362846b3e101cae7786a3420afc62dc
tree1a812b5c0451732541db66ab5a06cbf183273ff7
parentae03bc6effdffe145c871d70ce346f93faefc71b
iw: small cleanup for the sizer code

We should use a signed variable if we subtract and potentially
end up with a negative value.

Additionally, we directly reference these variables so don't
need __attribute__((used)).

Change-Id: I78c2a5706dce9c90595284cf5e1d9d6f6fa1879e
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
iw.c