Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Aug 2012 10:43:51 +0200
From:      Dimitry Andric <dimitry@andric.com>
To:        deeptech71@gmail.com
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: sys/dev/amr build error with Clang
Message-ID:  <50407947.50907@andric.com>
In-Reply-To: <504068F2.6010300@gmail.com>
References:  <504068F2.6010300@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2012-08-31 09:34, deeptech71@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50407947.50907>