summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-05-19 03:43:42 +0300
committerJakub Kicinski <kuba@kernel.org>2022-05-20 04:44:44 +0300
commitdbbc7d04c549a43ad343c69e17b27a57e2102041 (patch)
treeec16c32e9842de9a2c8e319b8fdfa4610cccdd90 /tools/perf/scripts/python/stackcollapse.py
parent53332f845194b8dedf213c5bf51c2d4af88364ee (diff)
downloadlinux-dbbc7d04c549a43ad343c69e17b27a57e2102041.tar.xz
net: wwan: iosm: remove pointless null check
GCC 12 warns: drivers/net/wwan/iosm/iosm_ipc_protocol_ops.c: In function ‘ipc_protocol_dl_td_process’: drivers/net/wwan/iosm/iosm_ipc_protocol_ops.c:406:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘cb’ will never be NULL [-Waddress] 406 | if (!IPC_CB(skb)) { | ^ Indeed the check seems entirely pointless. Hopefully the other validation checks will catch if the cb is bad, but it can't be NULL. Reviewed-by: M Chetan Kumar <m.chetan.kumar@intel.com> Link: https://lore.kernel.org/r/20220519004342.2109832-1-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions