From f1dac8bfa3134c6d21d724b6ca336e6e7a07a80d Mon Sep 17 00:00:00 2001 From: Jaegeuk Kim Date: Mon, 4 May 2020 08:54:11 -0700 Subject: [PATCH] ANDROID: remove unused variable Checked the variable in f2fs-stable, I think there was a mistake to remove this line. Let's remove this to sync with -stable. Bug: 155529912 Fixes: be3bb0daac7a ("Merge 4.19.119 into android-4.19") Change-Id: I27af455f0c59924d122a782669bac741bd9a82ea Signed-off-by: Jaegeuk Kim --- fs/f2fs/xattr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/f2fs/xattr.c b/fs/f2fs/xattr.c index be0ae6de98db..4f6582ef7ee3 100644 --- a/fs/f2fs/xattr.c +++ b/fs/f2fs/xattr.c @@ -560,7 +560,6 @@ out: ssize_t f2fs_listxattr(struct dentry *dentry, char *buffer, size_t buffer_size) { struct inode *inode = d_inode(dentry); - nid_t xnid = F2FS_I(inode)->i_xattr_nid; struct f2fs_xattr_entry *entry; void *base_addr, *last_base_addr; int error = 0;