sys/dev/amr build error with Clang
Dimitry Andric
dimitry at andric.com
Fri Aug 31 08:43:49 UTC 2012
On 2012-08-31 09:34, deeptech71 at gmail.com wrote:
> /usr/src/sys/modules/amr/../../dev/amr/amr.c:970:1: error: function
> 'amr_periodic' is not needed and will not be emitted
> [-Werror,-Wunneeded-internal-declaration]
The one call to get the callout to amr_periodic() started seems to have
been commented out in r239912:
http://svnweb.freebsd.org/base/head/sys/dev/amr/amr.c?r1=239912&r2=239911&pathrev=239912
If the function isn't necessary anymore, it could just be deleted, or
#ifdef'd out.
More information about the freebsd-current
mailing list