summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorJason Yan <yanaijie@huawei.com>2020-04-27 11:23:37 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-28 14:29:41 +0200
commit589945844266b4450be7008f40ca6b0359b73dee (patch)
treeaaad441f88174fcbacb891186950e5d804b2177f /tools/perf/scripts/python/event_analyzing_sample.py
parentfc84701810fa02b6281b0afed201b4fd7b4c792c (diff)
downloadlinux-589945844266b4450be7008f40ca6b0359b73dee.tar.gz
linux-589945844266b4450be7008f40ca6b0359b73dee.zip
staging: rtl8723bs: os_dep: remove set but not used 'size'
And also remove the NULL check before kfree() because kfree() can handle NULL pointers correctly. Fix the following gcc warning: drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:157:6: warning: variable ‘size’ set but not used [-Wunused-but-set-variable] u32 size = 0; ^~~~ Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Jason Yan <yanaijie@huawei.com> Link: https://lore.kernel.org/r/20200427032342.27211-3-yanaijie@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions