summaryrefslogtreecommitdiffstats
path: root/drivers/target
diff options
context:
space:
mode:
authorMike Christie <mchristi@redhat.com>2018-06-22 23:40:18 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2018-06-26 18:27:05 +0200
commit0297e962907d98ece34188cb267d3313812b6e42 (patch)
tree004d7c51f432564f128638042e8830b133826626 /drivers/target
parentscsi: lpfc: use monotonic timestamps for statistics (diff)
downloadlinux-0297e962907d98ece34188cb267d3313812b6e42.tar.xz
linux-0297e962907d98ece34188cb267d3313812b6e42.zip
scsi: tcmu: delete unused __wait
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>
Diffstat (limited to 'drivers/target')
-rw-r--r--drivers/target/target_core_user.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/target/target_core_user.c b/drivers/target/target_core_user.c
index e4a76f9771ce..898a5619f2d6 100644
--- a/drivers/target/target_core_user.c
+++ b/drivers/target/target_core_user.c
@@ -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;