Re: [PATCH] fs/jffs2: kill warning RE debug-only variables

From: David Woodhouse
Date: Wed Oct 04 2006 - 09:31:57 EST


On Wed, 2006-10-04 at 07:57 -0400, Jeff Garzik wrote:
> build:
>
> fs/jffs2/xattr.c: In function âunrefer_xattr_datumâ:
> fs/jffs2/xattr.c:402: warning: unused variable âversionâ
> fs/jffs2/xattr.c:402: warning: unused variable âxidâ
>
> Given that these variables are only used in the debug printk, and they
> merely remove a deref, we can easily kill the warning by adding the
> derefs to the debug printk.
>
> Signed-off-by: Jeff Garzik <jeff@xxxxxxxxxx>

Applied; thanks.

--
dwmw2

-
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/