summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2019-03-28 17:40:22 +0300
committerLinus Walleij <linus.walleij@linaro.org>2019-04-08 14:06:30 +0300
commitc7df94c64ca20d13ba0b9442e355f80a1f5c3e43 (patch)
tree19f1ac705d1499a2f03a735566983948beb99580 /tools/perf/util/scripting-engines/trace-event-python.c
parent5e73de3413c5e0c104588a197cbd158baa085aca (diff)
downloadlinux-c7df94c64ca20d13ba0b9442e355f80a1f5c3e43.tar.xz
pinctrl: imx: remove an unnecessary NULL check
The address of "ipctl->pin_regs[pin_id]" can't be NULL. It's the offset into an array in the middle of a struct. This patch removes the check. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Dong Aisheng <aisheng.dong@nxp.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions