From patchwork Tue Jul 25 14:15:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 125659 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp2510714vqg; Tue, 25 Jul 2023 07:29:02 -0700 (PDT) X-Google-Smtp-Source: APBJJlE0ch/dCuzrSkzukVoxU+nVqcUqcIbH+fIYPlM7SgLGBvbrGX+zcKH7dRA3gY+fmBeRjWbq X-Received: by 2002:a17:902:7404:b0:1bb:bbd4:aadf with SMTP id g4-20020a170902740400b001bbbbd4aadfmr2017801pll.61.1690295342433; Tue, 25 Jul 2023 07:29:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690295342; cv=none; d=google.com; s=arc-20160816; b=Jt2gyr+iIJLxM0OFWTroiRoxrful9aBj8Y/BEFBBVAuzDcseM0WHCblkcJSgaXma0S co5tx3lbuJriHKcBPuQWgzc5EqFqNaAgpW1sd1fR8PkwsJW4hKZc8xPXQ8AszsRBsFx0 p5SzkNBUE26wMXC7NpdS8OWgm0iYOWGrEjirtKeJV1b2pg42VyOunsRvyqFJrQcpAteK DZbtbtJ52vQQtHr3Q0e0LzIy/OGlivPM7uP2eRhcHdaeQVhY2y3RbiFhY9SQ+/XrC6Rf WENlVPtOP72lLcyNeBk/Qdmpi0vtX5ETPCVslecpjq48GHc2RM0TaolDXLJMeI817PS3 iTzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=8bCjTOJ+QHU8C+ls37gysCMKcBwyOGNCRvrfVuyiM2E=; fh=SiWq8fVTjruF4fizG+K/iRzYqD7/BcFY3W836TLkxkY=; b=YdnULn7/5nM0GHxAlfIRc3YZFUz1c+0m4EU8hbff2ArVofOwH1g0UqB/bNZ9VBkiuO bfYC/ocrtRbxweHE/mg5GJd9H3qPkpTbyej0rKzhaI2w412N4cyIDSJeI020BDjFcg7g 1HJnKQqhDY9yMSu5wyKIurWTSKCpfP5QFb4VJQNo1/NXqnVF9tqG8SYEPLDfB67p/gAT IsfRV1IB8b8o9otBcfIF9m5MYoVbWCrN74PIYA7IHa74dqFgORuPFpnNKUKaq2mZQlY/ vl4MK8Wyr23SpfRedNJ77U3jD4HX5hAr6AecinBEDE1foj2mHbX2qVHf5yuJSrepEi6g pOdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f7-20020a170902ce8700b001b8c6890612si12573752plg.594.2023.07.25.07.28.48; Tue, 25 Jul 2023 07:29:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231931AbjGYOUi (ORCPT + 99 others); Tue, 25 Jul 2023 10:20:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229999AbjGYOUd (ORCPT ); Tue, 25 Jul 2023 10:20:33 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E734E211C; Tue, 25 Jul 2023 07:16:05 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.55]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4R9JvB2F3fz1GDJD; Tue, 25 Jul 2023 22:14:46 +0800 (CST) Received: from localhost (10.174.179.215) by canpemm500007.china.huawei.com (7.192.104.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 25 Jul 2023 22:15:37 +0800 From: YueHaibing To: , , , , , , CC: , , Subject: [PATCH -next] scsi: iscsi: Remove unused extern declaration iscsi_lookup_iface() Date: Tue, 25 Jul 2023 22:15:31 +0800 Message-ID: <20230725141531.10424-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To canpemm500007.china.huawei.com (7.192.104.62) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772403128663272166 X-GMAIL-MSGID: 1772403128663272166 This is not used anymore, so can be removed. Signed-off-by: YueHaibing Reviewed-by: Chris Leech --- include/scsi/scsi_transport_iscsi.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/scsi/scsi_transport_iscsi.h b/include/scsi/scsi_transport_iscsi.h index 34c03707fb6e..fb3399e4cd29 100644 --- a/include/scsi/scsi_transport_iscsi.h +++ b/include/scsi/scsi_transport_iscsi.h @@ -472,7 +472,6 @@ extern struct iscsi_iface *iscsi_create_iface(struct Scsi_Host *shost, uint32_t iface_type, uint32_t iface_num, int dd_size); extern void iscsi_destroy_iface(struct iscsi_iface *iface); -extern struct iscsi_iface *iscsi_lookup_iface(int handle); extern char *iscsi_get_port_speed_name(struct Scsi_Host *shost); extern char *iscsi_get_port_state_name(struct Scsi_Host *shost); extern int iscsi_is_session_dev(const struct device *dev);