scsi: tcmu: delete unused __wait
authorMike Christie <mchristi@redhat.com>
Fri, 22 Jun 2018 21:40:18 +0000 (16:40 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 26 Jun 2018 16:27:05 +0000 (12:27 -0400)
When this code changed, this was never cleaned up.

Signed-off-by: Mike Christie <mchristi@redhat.com>
Tested-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/target/target_core_user.c

index e4a76f9..898a561 100644 (file)
@@ -1564,7 +1564,6 @@ static int tcmu_wait_genl_cmd_reply(struct tcmu_dev *udev)
 {
        struct tcmu_nl_cmd *nl_cmd = &udev->curr_nl_cmd;
        int ret;
-       DEFINE_WAIT(__wait);
 
        if (!tcmu_kern_cmd_reply_supported)
                return 0;