]> Pileus Git - ~andy/linux/blobdiff - drivers/target/target_core_configfs.c
[SCSI] target: Convert TASK_ATTR to scsi_tcq.h definitions
[~andy/linux] / drivers / target / target_core_configfs.c
index a5f44a6e6e1d62286ef81228cf4d014b3be03a9d..ee6fad979b50c82fa9ff2fc9f8121a62f32d7bb5 100644 (file)
@@ -497,10 +497,6 @@ static int target_fabric_tf_ops_check(
                printk(KERN_ERR "Missing tfo->is_state_remove()\n");
                return -EINVAL;
        }
-       if (!(tfo->pack_lun)) {
-               printk(KERN_ERR "Missing tfo->pack_lun()\n");
-               return -EINVAL;
-       }
        /*
         * We at least require tfo->fabric_make_wwn(), tfo->fabric_drop_wwn()
         * tfo->fabric_make_tpg() and tfo->fabric_drop_tpg() in