From: Alexander Block Date: Sat, 28 Jul 2012 10:04:16 +0000 (+0200) Subject: Btrfs: remove unused use_list from send/receive code X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d27aed5e24f8e7bb2b0d11e7a579f2bbdebafc2f;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git Btrfs: remove unused use_list from send/receive code use_list is a leftover and unused. Signed-off-by: Alexander Block --- diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c index 328654ea4400..f1d44b125beb 100644 --- a/fs/btrfs/send.c +++ b/fs/btrfs/send.c @@ -125,7 +125,6 @@ struct send_ctx { struct name_cache_entry { struct list_head list; - struct list_head use_list; u64 ino; u64 gen; u64 parent_ino; @@ -1906,7 +1905,6 @@ out_cache: nce->name_len = fs_path_len(dest); nce->ret = ret; strcpy(nce->name, dest->start); - memset(&nce->use_list, 0, sizeof(nce->use_list)); if (ino < sctx->send_progress) nce->need_later_update = 0;