diff options
author | 2013-12-22 10:55:47 +0200 | |
---|---|---|
committer | 2013-12-31 19:03:46 +0200 | |
commit | 9e898f1bd4415699e826c78893a9622a11bd01a6 (patch) | |
tree | 9fd0887b9b1de4f13b3c21b306140ae82a8e7843 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | iwlwifi: mvm: disable the device as soon as RFKILL fires (diff) | |
download | linux-dev-9e898f1bd4415699e826c78893a9622a11bd01a6.tar.xz linux-dev-9e898f1bd4415699e826c78893a9622a11bd01a6.zip |
iwlwifi: mvm: fix harmless smatch / coccinelle warnings
Don't check if mvm->fw->cs is NULL since it can't be.
cs is an array member of iwl_fw, it can't be NULL.
Use memset(ptr, 0, sizeof(*ptr)); instead of
memset(ptr, 0, sizeof(struct ptr_type));
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions