diff options
author | 2014-11-19 18:51:55 +0100 | |
---|---|---|
committer | 2014-11-19 18:51:55 +0100 | |
commit | 6b67e01fc0c4f7759a3e6e75fdcf17195daa482e (patch) | |
tree | b5f0e38f20f94623a145969c4689e68117dcca92 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | mac80211-hwsim: hwname is always known so use the value from wiphy (diff) | |
download | linux-dev-6b67e01fc0c4f7759a3e6e75fdcf17195daa482e.tar.xz linux-dev-6b67e01fc0c4f7759a3e6e75fdcf17195daa482e.zip |
mac80211-hwsim: remove unnecessary hwname check
The hwname will always be set if idx is negative (as it's
a u32 read into an s64 it can't overflow either) so we can
remove the unnecessary check for hwname being non-NULL.
This was reported by smatch.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions