summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-04-03 16:16:51 +0300
committerFelipe Balbi <balbi@kernel.org>2020-05-09 11:05:08 +0300
commitd13cce757954fa663c69845611957396843ed87a (patch)
treeb419f4f638ae159aa2c5f7630010bbd3fc82cce3 /tools/perf/scripts/python/stackcollapse.py
parent0534d40160cb9505073b0ecf5e7210daee319a66 (diff)
downloadlinux-d13cce757954fa663c69845611957396843ed87a.tar.xz
usb: gadget: legacy: fix redundant initialization warnings
Fix the following cppcheck warnings: drivers/usb/gadget/legacy/inode.c:1364:8: style: Redundant initialization for 'value'. The initialized value is overwritten$ value = -EOPNOTSUPP; ^ drivers/usb/gadget/legacy/inode.c:1331:15: note: value is initialized int value = -EOPNOTSUPP; ^ drivers/usb/gadget/legacy/inode.c:1364:8: note: value is overwritten value = -EOPNOTSUPP; ^ drivers/usb/gadget/legacy/inode.c:1817:8: style: Redundant initialization for 'value'. The initialized value is overwritten$ value = -EINVAL; ^ drivers/usb/gadget/legacy/inode.c:1787:18: note: value is initialized ssize_t value = len, length = len; ^ drivers/usb/gadget/legacy/inode.c:1817:8: note: value is overwritten value = -EINVAL; ^ Acked-by: Alan Stern <stern@rowland.harvard.edu> Reported-by: kbuild test robot <lkp@intel.com> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions