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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>

Applied; thanks.

-- 
dwmw2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux