[PATCH] clock: Remove unneeded return from void function

From: Guillaume Gomez
Date: Wed Sep 23 2015 - 06:13:35 EST


Signed-off-by: Guillaume Gomez <guillaume1.gomez@xxxxxxxxx>
---
include/linux/clockchips.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/clockchips.h b/include/linux/clockchips.h
index bdcf358..4dd0437 100644
--- a/include/linux/clockchips.h
+++ b/include/linux/clockchips.h
@@ -192,7 +192,7 @@ extern int clockevents_update_freq(struct
clock_event_device *ce, u32 freq);
static inline void
clockevents_calc_mult_shift(struct clock_event_device *ce, u32 freq,
u32 minsec)
{
- return clocks_calc_mult_shift(&ce->mult, &ce->shift,
NSEC_PER_SEC, freq, minsec);
+ clocks_calc_mult_shift(&ce->mult, &ce->shift, NSEC_PER_SEC, freq, minsec);
}

extern void clockevents_suspend(void);
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/