From: David Sterba Date: Tue, 12 Feb 2019 17:20:04 +0000 (+0100) Subject: btrfs: scrub: remove unused nocow worker pointer X-Git-Tag: v5.1-rc1~138^2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ea82076262f4467ff6f7f8ac11efeeeed0d1a33;p=thirdparty%2Fkernel%2Flinux.git btrfs: scrub: remove unused nocow worker pointer The member btrfs_fs_info::scrub_nocow_workers is unused since the nocow optimization was removed from scrub in 9bebe665c3e4 ("btrfs: scrub: Remove unused copy_nocow_pages and its callchain"). Reviewed-by: Anand Jain Signed-off-by: David Sterba --- diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index f92f97304e691..85140913c0f55 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -1082,7 +1082,6 @@ struct btrfs_fs_info { refcount_t scrub_workers_refcnt; struct btrfs_workqueue *scrub_workers; struct btrfs_workqueue *scrub_wr_completion_workers; - struct btrfs_workqueue *scrub_nocow_workers; struct btrfs_workqueue *scrub_parity_workers; #ifdef CONFIG_BTRFS_FS_CHECK_INTEGRITY