From 9d87c6c8fb6f7cc932f03bf382a8cb0feebb9ab6 Mon Sep 17 00:00:00 2001 From: Ian Lepore Date: Sun, 21 Dec 2014 21:11:54 +0000 Subject: [PATCH] Remove a volatile qualifier on return type that is ignored and results in a -Wreturn-type warning when compiled with gcc. --- sys/arm/ti/ti_wdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm/ti/ti_wdt.c b/sys/arm/ti/ti_wdt.c index 7f50a618d61..7e8e5aed07e 100644 --- a/sys/arm/ti/ti_wdt.c +++ b/sys/arm/ti/ti_wdt.c @@ -95,7 +95,7 @@ static devclass_t ti_wdt_devclass; DRIVER_MODULE(ti_wdt, simplebus, ti_wdt_driver, ti_wdt_devclass, 0, 0); -static volatile __inline uint32_t +static __inline uint32_t ti_wdt_reg_read(struct ti_wdt_softc *sc, uint32_t reg) {