[parisc-linux] Re: (void) cast for READ_REG
Grant Grundler
grundler at parisc-linux.org
Thu May 11 11:25:17 MDT 2006
On Thu, May 11, 2006 at 02:16:39AM -0600, Matthew Wilcox wrote:
> The void casts are just bogus. Please take them out.
"bogus" isn't the word I would use.
I agree with Kyle that we don't want that behavior for every function.
But I want the compiler to tell me when we throw away return values
we normally use.
I'll remove them since your last commit makes the casts superfluous.
And I don't recall why I opencoded READ_REG in the first place. :(
thanks,
grant
More information about the parisc-linux
mailing list