Re: [PATCH] igc: remove unused igc_priv_flags_strings array

2019-03-07 Thread Neftin, Sasha
On 3/7/2019 09:29, David Miller wrote: From: Arnd Bergmann Date: Thu, 7 Mar 2019 10:29:57 +0100 clang points out that the igc_priv_flags_strings[] array is never referenced, aside from being used for calculating its length: drivers/net/ethernet/intel/igc/igc_ethtool.c:9:19: error: variable

Re: [PATCH] igc: remove unused igc_priv_flags_strings array

2019-03-07 Thread David Miller
From: Arnd Bergmann Date: Thu, 7 Mar 2019 10:29:57 +0100 > clang points out that the igc_priv_flags_strings[] array is never > referenced, aside from being used for calculating its length: > > drivers/net/ethernet/intel/igc/igc_ethtool.c:9:19: error: variable > 'igc_priv_flags_strings' is not

[PATCH] igc: remove unused igc_priv_flags_strings array

2019-03-07 Thread Arnd Bergmann
clang points out that the igc_priv_flags_strings[] array is never referenced, aside from being used for calculating its length: drivers/net/ethernet/intel/igc/igc_ethtool.c:9:19: error: variable 'igc_priv_flags_strings' is not needed and will not be emitted [-Werror,-Wunneeded-internal-decl