summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-omap-dmtimer.c
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2021-12-10 00:22:50 +0000
committerThierry Reding <thierry.reding@gmail.com>2022-02-24 13:54:05 +0100
commitdc1adb3ce478bfd1f945f561768fb0fac8e13c28 (patch)
treeddc6b12c576eeffe3898398feeafcd2924b089a6 /drivers/pwm/pwm-omap-dmtimer.c
parent4122e903b9e3d16391682491eb668f6f36f8ec89 (diff)
downloadlinux-dc1adb3ce478bfd1f945f561768fb0fac8e13c28.tar.bz2
pwm: atmel: Remove redundant initialization of variable timeout
The variable timeout is being initialized with a value that is never read, it is being re-assigned the same value later on. Remove the redundant initialization and keep the latter assignment because it's closer to the use of the variable. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-omap-dmtimer.c')
0 files changed, 0 insertions, 0 deletions