[PATCH] tick/broadcast: beautify code for removing redundancy statement
From: Peng Hao
Date: Mon Dec 03 2018 - 06:24:17 EST
Remove redundant "ret = 0" statment which was previously
initialized to 0.
Signed-off-by: Peng Hao <peng.hao2@xxxxxxxxxx>
---
kernel/time/tick-broadcast.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/time/tick-broadcast.c b/kernel/time/tick-broadcast.c
index aa2094d..311ee7c 100644
--- a/kernel/time/tick-broadcast.c
+++ b/kernel/time/tick-broadcast.c
@@ -209,7 +209,6 @@ int tick_device_uses_broadcast(struct clock_event_device *dev, int cpu)
* caller initialize the device.
*/
tick_broadcast_clear_oneshot(cpu);
- ret = 0;
break;
case TICKDEV_MODE_PERIODIC:
--
1.8.3.1