We can infer the ops from the type that is now passed to all functions
that would need it, this makes workspace_manager::ops redundant and can
be removed.
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
 
 static void btrfs_init_workspace_manager(int type)
 {
-       const struct btrfs_compress_op *ops = btrfs_compress_op[type];
-       struct workspace_manager *wsm = ops->workspace_manager;
+       struct workspace_manager *wsm;
        struct list_head *workspace;
 
-       wsm->ops = ops;
-
+       wsm = btrfs_compress_op[type]->workspace_manager;
        INIT_LIST_HEAD(&wsm->idle_ws);
        spin_lock_init(&wsm->ws_lock);
        atomic_set(&wsm->total_ws, 0);
 
 };
 
 struct workspace_manager {
-       const struct btrfs_compress_op *ops;
        struct list_head idle_ws;
        spinlock_t ws_lock;
        /* Number of free workspaces */