watchdog_disable() in Cyclone V reset manager

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"arch/arm/mach-socfpga/cyclone5-reset-manager.c" defines a global function 'void watchdog_disable(void)'. Nothing calls it. The compiler issues a warning:

/mnt/lindata/work/abbotti/barebox_git/barebox-next/arch/arm/mach-socfpga/cyclone5-reset-manager.c:26:6: warning: no previous prototype for ‘watchdog_disable’ [-Wmissing-prototypes]
 void watchdog_disable(void)
      ^~~~~~~~~~~~~~~~

Since nothing in the shipped code calls it, should we get rid of it? If not, it should be declared in a header file somewhere.

--
-=( Ian Abbott <abbotti@xxxxxxxxx> || Web: www.mev.co.uk )=-
-=( MEV Ltd. is a company registered in England & Wales. )=-
-=( Registered number: 02862268.  Registered address:    )=-
-=( 15 West Park Road, Bramhall, STOCKPORT, SK7 3JZ, UK. )=-

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux