diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-10-04 07:57:18 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-10-04 14:31:01 +0100 |
commit | a6b1d82d079a99d09761ee5fbc66c49f33b42324 (patch) | |
tree | e7adfec8ee481659eeab676487b2db541ef93eee /fs/locks.c | |
parent | 78b656b8bf933101b42409b4492734b23427bfc3 (diff) | |
download | op-kernel-dev-a6b1d82d079a99d09761ee5fbc66c49f33b42324.zip op-kernel-dev-a6b1d82d079a99d09761ee5fbc66c49f33b42324.tar.gz |
[JFFS2] kill warning RE debug-only variables
gcc emits the following warning on a 'allmodconfig' 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@garzik.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'fs/locks.c')
0 files changed, 0 insertions, 0 deletions