diff options
author | Tuo Li <[email protected]> | 2021-08-03 19:03:05 -0700 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2021-08-21 20:49:20 +0300 |
commit | 118934041c5fec6c35bcf903a76783ea2fa302f0 (patch) | |
tree | 912a0dc6e1acd982e0c4629bc77011553f7f4578 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8f86342872e22910eaa319319d25302a847a3f87 (diff) |
mwifiex: drop redundant null-pointer check in mwifiex_dnld_cmd_to_fw()
There is no case in which the variable cmd_node->cmd_skb has no ->data,
and thus the variable host_cmd is guaranteed to be not NULL. Therefore,
the null-pointer check is redundant and can be dropped.
Reported-by: TOTE Robot <[email protected]>
Signed-off-by: Tuo Li <[email protected]>
Tested-by: Brian Norris <[email protected]>
Reviewed-by: Brian Norris <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions