summaryrefslogtreecommitdiffstats
path: root/lib/vdso/gettimeofday.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2021-06-17 11:51:40 +0200
committerThierry Reding <thierry.reding@gmail.com>2021-06-30 19:12:20 +0200
commitc1b8ac969febc8f413c4d71f0eefe2e107610449 (patch)
treed06311eac5e654ee8651389d9685d37eeac06a1c /lib/vdso/gettimeofday.c
parentpwm: core: Simplify some devm_*pwm*() functions (diff)
downloadlinux-c1b8ac969febc8f413c4d71f0eefe2e107610449.tar.xz
linux-c1b8ac969febc8f413c4d71f0eefe2e107610449.zip
pwm: tegra: Drop an if block with an always false condition
tegra_pwm_remove() is only called after tegra_pwm_probe() successfully completed. In this case platform_set_drvdata() was called with a non-NULL value and so platform_get_drvdata(pdev) cannot return NULL. Returning an error code from a platform_driver's remove function is ignored anyway, so it's a good thing this exit path is gone. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'lib/vdso/gettimeofday.c')
0 files changed, 0 insertions, 0 deletions