summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2021-05-05 19:19:08 +0300
committerThierry Reding <thierry.reding@gmail.com>2021-06-30 20:12:18 +0300
commit81b7c173e3609ed77a9f9909406aefa122801a38 (patch)
tree3ba83ab9baf0d3441c4f846b342a9821804c4399 /scripts/gdb/linux/utils.py
parent0512f0503b051a98608a9b0d33b75482b960a313 (diff)
downloadlinux-81b7c173e3609ed77a9f9909406aefa122801a38.tar.xz
pwm: pxa: Drop if with an always false condition
The .remove() function is only called after .probe() returned successfully. In this case platform_set_drvdata() was called with a non-NULL argument and so platfrom_get_drvdata() returns the same non-NULL value. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions