target: merge release_cmd methods
[platform/kernel/linux-rpi.git] / include / target / target_core_fabric_ops.h
index 747e140..2de8fe9 100644 (file)
@@ -39,17 +39,11 @@ struct target_core_fabric_ops {
         */
        int (*new_cmd_map)(struct se_cmd *);
        /*
-        * Optional function pointer for TCM fabric modules that use
-        * Linux/NET sockets to allocate struct iovec array to struct se_cmd
-        */
-       int (*alloc_cmd_iovecs)(struct se_cmd *);
-       /*
         * Optional to release struct se_cmd and fabric dependent allocated
         * I/O descriptor in transport_cmd_check_stop()
         */
        void (*check_stop_free)(struct se_cmd *);
-       void (*release_cmd_to_pool)(struct se_cmd *);
-       void (*release_cmd_direct)(struct se_cmd *);
+       void (*release_cmd)(struct se_cmd *);
        /*
         * Called with spin_lock_bh(struct se_portal_group->session_lock held.
         */
@@ -70,7 +64,6 @@ struct target_core_fabric_ops {
        void (*set_default_node_attributes)(struct se_node_acl *);
        u32 (*get_task_tag)(struct se_cmd *);
        int (*get_cmd_state)(struct se_cmd *);
-       void (*new_cmd_failure)(struct se_cmd *);
        int (*queue_data_in)(struct se_cmd *);
        int (*queue_status)(struct se_cmd *);
        int (*queue_tm_rsp)(struct se_cmd *);