Re: [PATCH][net-next] net: hinic: make functions set_ctrl0 and set_ctrl1 static

From: David Miller
Date: Thu Aug 24 2017 - 01:20:56 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Wed, 23 Aug 2017 10:59:40 +0100

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The functions set_ctrl0 and set_ctrl1 are local to the source and do
> not need to be in global scope, so make them static.
>
> Cleans up sparse warnings:
> symbol 'set_ctrl0' was not declared. Should it be static?
> symbol 'set_ctrl1' was not declared. Should it be static?
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied.