On Tue, Nov 03, 2015 at 01:32:44PM -0500, David Miller wrote: > From: Phil Sutter <p...@nwl.cc> > Date: Tue, 3 Nov 2015 19:01:41 +0100 > > > It looks like this has never been used at all. > > > > Signed-off-by: Phil Sutter <p...@nwl.cc> > > Indeed, from day one this was completely unreferenced.
I found it by accident when trying to find out whether choke was class-full or not. :) > One downside from marking so much stuff const is that an > unreferenced static variable won't be warned as unused if > it's const. Interestingly, this topic was picked up again only just two months ago[1]. Not sure though if that could be used for kernel code with all it's specialties. Cheers, Phil [1]: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28901 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html