Re: unused 'size' assignment in filemap_nopage

From: Herbert Xu
Date: Wed Mar 23 2005 - 06:10:57 EST


Jeff Moyer <jmoyer@xxxxxxxxxx> wrote:
>
> After this, size is not referenced. So, either this potential reassignment
> of size is superfluous, or we are missing some other code later on in the
> function. If it is the former, I've attached a patch which will remove the
> code.

Yes it's obsolete. You can remove endoff as well.
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/