summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Christie <mchristi@redhat.com>2018-06-23 00:40:18 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2018-06-26 19:27:05 +0300
commit0297e962907d98ece34188cb267d3313812b6e42 (patch)
tree004d7c51f432564f128638042e8830b133826626
parentc4d6204dc1742581c0450d2ff6a058f61ea4f4ce (diff)
downloadlinux-0297e962907d98ece34188cb267d3313812b6e42.tar.xz
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>
-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;