Re: [PATCH 31/43] drivers/net/tokenring: fix sparse warning: cast truncates bits from const value

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Al Viro
Date: Saturday, February 14, 2009 - 4:24 pm

On Sat, Feb 14, 2009 at 10:46:24PM +0100, Hannes Eder wrote:

Um, no.  Here's a better question: does *anything* use ->current_ring_status
at all?  Answer: no.  Next question: did anything use it in the past?
git log -p drivers/net/tokenging/smctr.c in historical trees shows that
it had always been defined that way and that it had never been used at
all.

So how about removing the damn field completely?  Or asking the driver's
author what the hell had it been about?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 00/43] drivers/net: fix (sparse) warnings, Hannes Eder, (Sat Feb 14, 2:11 pm)
Re: [PATCH 31/43] drivers/net/tokenring: fix sparse warnin ..., Al Viro, (Sat Feb 14, 4:24 pm)
Re: [PATCH 24/43] drivers/net/ixgbe: fix sparse warning: S ..., Waskiewicz Jr, Peter P, (Sun Feb 15, 11:48 pm)