From patchwork Mon Mar 18 17:32:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamal Mostafa X-Patchwork-Id: 1057987 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44NNYT54pDz9s9h; Tue, 19 Mar 2019 04:32:45 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1h5w7r-0001pf-DD; Mon, 18 Mar 2019 17:32:39 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.86_2) (envelope-from ) id 1h5w7k-0001lF-QM for kernel-team@lists.ubuntu.com; Mon, 18 Mar 2019 17:32:32 +0000 Received: from 1.general.kamal.us.vpn ([10.172.68.52] helo=fourier) by youngberry.canonical.com with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1h5w7k-0001QH-9y for kernel-team@lists.ubuntu.com; Mon, 18 Mar 2019 17:32:32 +0000 Received: from kamal by fourier with local (Exim 4.90_1) (envelope-from ) id 1h5w7h-0007RX-RV for kernel-team@lists.ubuntu.com; Mon, 18 Mar 2019 10:32:29 -0700 From: Kamal Mostafa To: kernel-team@lists.ubuntu.com Subject: [Cosmic][PATCH 1/4] scsi: tcmu: delete unused __wait Date: Mon, 18 Mar 2019 10:32:25 -0700 Message-Id: <20190318173228.28563-2-kamal@canonical.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190318173228.28563-1-kamal@canonical.com> References: <20190318173228.28563-1-kamal@canonical.com> X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Mike Christie BugLink: http://bugs.launchpad.net/bugs/1819504 When this code changed, this was never cleaned up. Signed-off-by: Mike Christie Tested-by: Xiubo Li Signed-off-by: Martin K. Petersen (cherry picked from commit 0297e962907d98ece34188cb267d3313812b6e42) Signed-off-by: Kamal Mostafa --- drivers/target/target_core_user.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/target/target_core_user.c b/drivers/target/target_core_user.c index b8dc5efc606b..436889bdcbcc 100644 --- a/drivers/target/target_core_user.c +++ b/drivers/target/target_core_user.c @@ -1596,7 +1596,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;