commit | 7d36556a8c929ead4d04fc29d2ed76cf5b0e3213 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Thu Feb 13 21:42:16 2020 +0100 |
committer | Johannes Berg <johannes.berg@intel.com> | Thu Feb 13 21:42:16 2020 +0100 |
tree | 0545002d1083c43cd5f4df2dfd0f9aaee0609c61 | |
parent | ff326369fb5561c8108f46cc003ea9cd4ef4d089 [diff] |
scan: wps: remove useless string length checks If we're going to print using %*s, then there's no need to check the length first - zero is fine and results in no memory access. Change-Id: I68a4ebd0be8e5c03670d475fe664597b6046df39 Signed-off-by: Johannes Berg <johannes.berg@intel.com>