svn commit: r276029 - head/sys/arm/ti

Ian Lepore ian at FreeBSD.org
Sun Dec 21 21:11:56 UTC 2014


Author: ian
Date: Sun Dec 21 21:11:54 2014
New Revision: 276029
URL: https://svnweb.freebsd.org/changeset/base/276029

Log:
  Remove a volatile qualifier on return type that is ignored and results in
  a -Wreturn-type warning when compiled with gcc.

Modified:
  head/sys/arm/ti/ti_wdt.c

Modified: head/sys/arm/ti/ti_wdt.c
==============================================================================
--- head/sys/arm/ti/ti_wdt.c	Sun Dec 21 17:25:21 2014	(r276028)
+++ head/sys/arm/ti/ti_wdt.c	Sun Dec 21 21:11:54 2014	(r276029)
@@ -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)
 {
 


More information about the svn-src-all mailing list