Re: [PATCH][net-next] net: mpls: make function ipgre_mpls_encap_hlen static

From: David Miller
Date: Wed Oct 11 2017 - 23:20:24 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Wed, 11 Oct 2017 10:53:28 +0100

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The function ipgre_mpls_encap_hlen is local to the source and
> does not need to be in global scope, so make it static.
>
> Cleans up sparse warning:
> symbol 'ipgre_mpls_encap_hlen' was not declared. Should it be static?
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied, thanks Colin.