shithub: lwext4

Download patch

ref: 1f6b6e87c63d9af250f8790891205146952757fa
parent: 846df7dfc7f3bcadbe20af8ae66ba9c76c43e5b6
author: ngkaho1234 <[email protected]>
date: Fri Oct 9 20:54:22 EDT 2015

Fix compiler warnings.

--- a/lwext4/ext4_xattr.c
+++ b/lwext4/ext4_xattr.c
@@ -443,8 +443,6 @@
 static void ext4_xattr_purge_items(struct ext4_xattr_ref *xattr_ref)
 {
 	struct ext4_xattr_item *item, *save_item;
-	uint64_t xattr_block = ext4_inode_get_file_acl(
-	    xattr_ref->inode_ref->inode, &xattr_ref->fs->sb);
 	RB_FOREACH_SAFE(item, ext4_xattr_tree, &xattr_ref->root, save_item)
 	{
 		RB_REMOVE(ext4_xattr_tree, &xattr_ref->root, item);