From patchwork Wed Jun 21 02:48:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kefeng Wang X-Patchwork-Id: 106032 Delivered-To: patch@linaro.org Received: by 10.140.91.2 with SMTP id y2csp1713819qgd; Tue, 20 Jun 2017 19:54:38 -0700 (PDT) X-Received: by 10.84.224.207 with SMTP id k15mr33753708pln.15.1498013678872; Tue, 20 Jun 2017 19:54:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498013678; cv=none; d=google.com; s=arc-20160816; b=Y1ypoYeRT83+xJrCMhao0g5T8yBnKWocpgb7G5CJGqdCv3Dz7d4t43drbN3AxDa+Nk C+zQ1MD4qwKYpHBvLVPhmNlqm/muXHgf/izx3K+MxBUiT5i9I+lyydDR89VR0V/i1xL4 33ef30OCsBL4hBiDslndd/xoXYjE3kCP8tTn2OtNWcnb+SQ613P0Zz9UkzniqEFSCefA yFeZDXX6zxpVYRdLobpFiLLziKcxG1DpmJj5sdvD+lNf0+BQI5U0xVBoV3EQCSYawJWZ UpXYDP1uDBpoJuqdd/TPYtoxE01iVWQUY/RJdtaGihqg6H5mEBABtnxQFtVNF6XKEr9l 5hSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=JCBqYO8TcEq65vk44ZMJOZ1d8Ve9n7ofcMdK+hj0oTw=; b=jnlirPvWS9XLHHX9KrdUUoQ2ZxpUX7qFoZcpFf7Oj3lydLUhe+hj+wUhAZud2bhkEx Ycp5oJm9wgsXlS7zXPJ0NEcNjP5NVRNuOqp2CvSCtls7icp22hY9eBQ/wDjExoDLnfI/ Sh1Zoewd2m25eBW8vSoadYnMvwMcls+KEi5u5OtQeOc8RtPeYmuYIn5sKxxgjpkoW/R2 kb+NCyEutllLvCSyaqGFnjLLbT5lOY62n45w4k6OGm3ddaExrrNRgEkBqoNfnXkeqn0s mACLq++d7iIKV2v3i53F8DKJ0St2JRZzqRqQL7UM//rI00vmKmTXMeLUQ844Vpttz4AM mNHA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c80si11770485pfe.11.2017.06.20.19.54.38; Tue, 20 Jun 2017 19:54:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753154AbdFUCyZ (ORCPT + 25 others); Tue, 20 Jun 2017 22:54:25 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:8770 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753012AbdFUCyY (ORCPT ); Tue, 20 Jun 2017 22:54:24 -0400 Received: from 172.30.72.53 (EHLO dggeml406-hub.china.huawei.com) ([172.30.72.53]) by dggrg01-dlp.huawei.com (MOS 4.4.6-GA FastPath queued) with ESMTP id AQR92015; Wed, 21 Jun 2017 10:54:04 +0800 (CST) Received: from linux-ibm.site (10.175.102.37) by dggeml406-hub.china.huawei.com (10.3.17.50) with Microsoft SMTP Server id 14.3.301.0; Wed, 21 Jun 2017 10:53:56 +0800 From: Kefeng Wang To: "Martin K. Petersen" , "James E.J. Bottomley" , , CC: Christoph Hellwig , Hannes Reinecke , "Kefeng Wang" Subject: [PATCH resend] scsi: fc: drop residual tsk_mgmt_response and it_nexus_response Date: Wed, 21 Jun 2017 10:48:30 +0800 Message-ID: <1498013310-29253-1-git-send-email-wangkefeng.wang@huawei.com> X-Mailer: git-send-email 1.7.12.4 MIME-Version: 1.0 X-Originating-IP: [10.175.102.37] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020204.5949DFCE.0003, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 341598d18c9f84976a9a307f787f4f4a Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org After commit 556e26a70b64 ("scsi: remove tsk_mgmt_response and it_nexus_response transport methods"), the target driver support was removed totally. Drop the residua. Signed-off-by: Kefeng Wang --- include/scsi/scsi_transport_fc.h | 4 ---- 1 file changed, 4 deletions(-) -- 1.7.12.4 diff --git a/include/scsi/scsi_transport_fc.h b/include/scsi/scsi_transport_fc.h index 6e208bb..e308cd5 100644 --- a/include/scsi/scsi_transport_fc.h +++ b/include/scsi/scsi_transport_fc.h @@ -658,10 +658,6 @@ struct fc_function_template { int (*vport_disable)(struct fc_vport *, bool); int (*vport_delete)(struct fc_vport *); - /* target-mode drivers' functions */ - int (* tsk_mgmt_response)(struct Scsi_Host *, u64, u64, int); - int (* it_nexus_response)(struct Scsi_Host *, u64, int); - /* bsg support */ int (*bsg_request)(struct bsg_job *); int (*bsg_timeout)(struct bsg_job *);