[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181015.223210.800610059472159197.davem@davemloft.net>
Date: Mon, 15 Oct 2018 22:32:10 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: arnd@...db.de
Cc: sgoutham@...vell.com, lcherian@...vell.com, gakula@...vell.com,
jerinj@...vell.com, yuehaibing@...wei.com, nmani@...vell.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] octeontx2-af: remove unused
cgx_fwi_link_change
From: Arnd Bergmann <arnd@...db.de>
Date: Fri, 12 Oct 2018 21:52:22 +0200
> The newly added driver causes a warning about a function that is
> not used anywhere:
>
> drivers/net/ethernet/marvell/octeontx2/af/cgx.c:320:12: error: 'cgx_fwi_link_change' defined but not used [-Werror=unused-function]
>
> Remove it for now, until a user gets added. If we want to use this
> function from another module, we also need a declaration in a header
> file, which is currently missing, so it would have to change anyway.
>
> Fixes: 1463f382f58d ("octeontx2-af: Add support for CGX link management")
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Applied.
Powered by blists - more mailing lists