Re: [PATCH] net1080: Remove unused function nc_dump_ttl()
From: David Miller
Date: Thu May 18 2017 - 14:47:07 EST
From: Matthias Kaehlcke <mka@xxxxxxxxxxxx>
Date: Thu, 18 May 2017 10:57:19 -0700
> The function is not used, removing it fixes the following warning when
> building with clang:
>
> drivers/net/usb/net1080.c:271:20: error: unused function
> 'nc_dump_ttl' [-Werror,-Wunused-function]
>
> Also remove the definition of TTL_THIS, which is only used in
> nc_dump_ttl()
>
> Signed-off-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>
Applied to net-next.