Re: sys/dev/amr build error with Clang

From: Dimitry Andric <dimitry_at_andric.com>
Date: Fri, 31 Aug 2012 10:43:51 +0200
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.
Received on Fri Aug 31 2012 - 06:43:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:30 UTC