]> www.infradead.org Git - users/jedix/linux-maple.git/commit
clocksource/drivers/gpx: Remove redundant casts
authorTang Bin <tangbin@cmss.chinamobile.com>
Thu, 7 Nov 2024 07:46:19 +0000 (15:46 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 13 Nov 2024 12:49:33 +0000 (13:49 +0100)
commit5569d7348b4a927eb5a2449ddc175ec7c3930c4d
tree7247d717f34d2f4b22468d5f3feacd683aca72b8
parente5cfc0989d9a2849c51c720a16b90b2c061a1aeb
clocksource/drivers/gpx: Remove redundant casts

In the function gxp_timer_init, the 'int' type cast in front of the
PTR_ERR() macro is redundant, thus remove it.

Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Link: https://lore.kernel.org/r/20241107074619.2714-1-tangbin@cmss.chinamobile.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/timer-gxp.c