From patchwork Tue Jul 25 14:09:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 125656 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp2509926vqg; Tue, 25 Jul 2023 07:27:39 -0700 (PDT) X-Google-Smtp-Source: APBJJlHJjiXDM/nBP1fgubzmwMlrXRPoclNnl+5hrte2z1CPC4IWQFlxzWO362CER8FEPugJ03T7 X-Received: by 2002:a17:902:ea06:b0:1b8:2537:542c with SMTP id s6-20020a170902ea0600b001b82537542cmr12601066plg.43.1690295258901; Tue, 25 Jul 2023 07:27:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690295258; cv=none; d=google.com; s=arc-20160816; b=uC/sd1ApHq7/U0OUsJshwwgInSslRXdAPr8KzyuxcefmNQ912l7mUltaoEItLUDI0v SGeyUr+CI1tUTPf6MUJMbgsrxeR2TOxQhY3Kyp+vnkrVY2QP4hvVEML3ECbBvHOefwUw /Ou2oCVZ+CiWum3zaaDEfTEUoCeJZp1XJFF35nDVre8n6yqwHSz4qElgwppbjq2A29XD X2/LqjW5TzFBtS3f5zIurzvlPOvzftlZV6lYt8Fh9rqo6kGVNPl/EnsdKFW1kZU7GVMg Ok4qvum3wYYJSXij+7t4GweBgD3EbhfrkgwEDJOLUNOFfYjvuhqhwdqQu+sw+UG306Ly 5Ypw== 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=W+ag09L5E8uUuK7vpS2gX+Ge0DuXW8D68TsWE9xOTQY=; fh=JRxtYmnAMUa1jdWhM3i7dIYxw0bd9ElJQByjLyB1HK4=; b=OOgRdR8IytEsaCRCU5xxYmSZFxCp32fBf228Epo1pGqjftsDa30N3yw9oTzYzquaOH aV/oA/JyWEXLu3zaQsxJKYezUpZU+RIHH2uDLawQSjd346jclvNClAVFSsA8ZOK9HI3I dr3jlo4ncAD+IeVROveuwh6GM5D5eOGMjjGqlzr7YtEXkv/1ZrWL6R2VtdEm00sEzAkQ 94WJLx1oR5ZsEDg0LXPuaW17PmDGTyZf9o7z2LTK9LMnbxlC/9I1YRZlLYsWv7rXAebc bBdOS69U46PvRgKSIVZ0rggOTXx38h2Q0Vm8h320i5kQ+sr8Bj5WErKMo5cz0H/PXbFm o54w== 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 u8-20020a1709026e0800b001b873b80747si10951077plk.39.2023.07.25.07.27.26; Tue, 25 Jul 2023 07:27:38 -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 S232084AbjGYOKM (ORCPT + 99 others); Tue, 25 Jul 2023 10:10:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231226AbjGYOKK (ORCPT ); Tue, 25 Jul 2023 10:10:10 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 194341FC9; Tue, 25 Jul 2023 07:10:07 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.55]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4R9Jmb2zpXz1GDLD; Tue, 25 Jul 2023 22:09:03 +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:09:54 +0800 From: YueHaibing To: , , , CC: , , , YueHaibing Subject: [PATCH -next] drbd: Remove unsued extern declarations Date: Tue, 25 Jul 2023 22:09:44 +0800 Message-ID: <20230725140944.21300-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: dggems704-chm.china.huawei.com (10.3.19.181) 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: 1772403041367531198 X-GMAIL-MSGID: 1772403041367531198 These are not used anymore, so remove it. Signed-off-by: YueHaibing --- drivers/block/drbd/drbd_int.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h index a30a5ed811be..11619b648598 100644 --- a/drivers/block/drbd/drbd_int.h +++ b/drivers/block/drbd/drbd_int.h @@ -1388,9 +1388,6 @@ extern void conn_free_crypto(struct drbd_connection *connection); extern void do_submit(struct work_struct *ws); extern void __drbd_make_request(struct drbd_device *, struct bio *); void drbd_submit_bio(struct bio *bio); -extern int drbd_read_remote(struct drbd_device *device, struct drbd_request *req); -extern int is_valid_ar_handle(struct drbd_request *, sector_t); - /* drbd_nl.c */ @@ -1472,7 +1469,6 @@ extern int w_resync_timer(struct drbd_work *, int); extern int w_send_write_hint(struct drbd_work *, int); extern int w_send_dblock(struct drbd_work *, int); extern int w_send_read_req(struct drbd_work *, int); -extern int w_e_reissue(struct drbd_work *, int); extern int w_restart_disk_io(struct drbd_work *, int); extern int w_send_out_of_sync(struct drbd_work *, int); @@ -1486,7 +1482,6 @@ extern int drbd_issue_discard_or_zero_out(struct drbd_device *device, sector_t start, unsigned int nr_sectors, int flags); extern int drbd_receiver(struct drbd_thread *thi); extern int drbd_ack_receiver(struct drbd_thread *thi); -extern void drbd_send_ping_wf(struct work_struct *ws); extern void drbd_send_acks_wf(struct work_struct *ws); extern bool drbd_rs_c_min_rate_throttle(struct drbd_device *device); extern bool drbd_rs_should_slow_down(struct drbd_peer_device *peer_device, sector_t sector, @@ -1502,7 +1497,6 @@ extern void __drbd_free_peer_req(struct drbd_device *, struct drbd_peer_request #define drbd_free_peer_req(m,e) __drbd_free_peer_req(m, e, 0) #define drbd_free_net_peer_req(m,e) __drbd_free_peer_req(m, e, 1) extern struct page *drbd_alloc_pages(struct drbd_peer_device *, unsigned int, bool); -extern void drbd_set_recv_tcq(struct drbd_device *device, int tcq_enabled); extern void _drbd_clear_done_ee(struct drbd_device *device, struct list_head *to_be_freed); extern int drbd_connected(struct drbd_peer_device *);