Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3567952imm; Tue, 17 Jul 2018 07:00:39 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc16Jgu9Z7Tz5OPc8xDorTd42fXzNzWYIP+uByM7t5fset5f/wo+heNu9W4UJ+T9OKJgnTS X-Received: by 2002:a62:2b4c:: with SMTP id r73-v6mr828551pfr.134.1531836039661; Tue, 17 Jul 2018 07:00:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531836039; cv=none; d=google.com; s=arc-20160816; b=eZOpCLFcuHEjMlDHdSjdemj/WFoyYGcZ21B8ZPjRgcNMC8NajDMZ3rWiVJoQNo+29N powtg6Jv8mJInW8Vumpg2ss82n5Yxlwb6RPJiX1xI1u95e9gDI+8pLJao/aT2hLC8MbA v9y46ojjMrX7eQKv9pCIF1sScUSAQw0qthomtKp3QPr1AkPTT5JCkUDzSF3+Mx68YkRW EC/qRrDjTf2pTonH21sBkKuosjwzDIYnXEHRLOixYVl2gt68Wjps3HkVKcCJnJIHjYvQ xxUmLopFyWMUV17B6kHYUJn1DKnUN5jcFeW8AsO4bXt7HVSSKIIgF6znPzKCwmGnbOJf 5+2Q== 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=C4tX9JRDfbaKWIH/2N7u+KT4oJrN6K2quXL7exbZf8Y=; b=iDe/fO1NwjGxctio/mH3R4f+3bsqn2Xp+14Mme8cDrcIIY6gf5vkso9Wyv+/D7PT0A Fz1HazN8L5e8tU5Q4fSW7swv7pquyHuQJsTMrMTtxRiQgD81vl+0EPZ3aHi0N+jbrYwb B4W7I8LiCmSBa0hGEp+ODqahmN7N2EOTotZBotRpTy2UN+DYZHhvujepo1u18LoBNg/I hqowVxWklS98NciWzXfjOUqpT+QkJ8vSlFb66TQbtV+zozNhyep9aSYQqcUGracc/05u ReVXwa8tG7H2XfvE6CphETK0Zmkclv4gP6SFC1+StYZAorkALX0y5PIqnCdFyNauiSPO UPiQ== 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 w18-v6si1024737pfi.88.2018.07.17.07.00.24; Tue, 17 Jul 2018 07:00:39 -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 S1731746AbeGQOc2 (ORCPT + 99 others); Tue, 17 Jul 2018 10:32:28 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:9688 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731497AbeGQOc2 (ORCPT ); Tue, 17 Jul 2018 10:32:28 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id E1C6F25FB8EF0; Tue, 17 Jul 2018 21:59:21 +0800 (CST) Received: from localhost (10.177.31.96) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.382.0; Tue, 17 Jul 2018 21:59:17 +0800 From: YueHaibing To: , , CC: , , , YueHaibing Subject: [PATCH net-next] tipc: remove unused tipc_link_is_active Date: Tue, 17 Jul 2018 21:58:46 +0800 Message-ID: <20180717135846.18600-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.177.31.96] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tipc_link_is_active is no longer used and can be removed. Signed-off-by: YueHaibing --- net/tipc/link.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/net/tipc/link.c b/net/tipc/link.c index df763be..6987ffc 100644 --- a/net/tipc/link.c +++ b/net/tipc/link.c @@ -297,11 +297,6 @@ static bool link_is_bc_rcvlink(struct tipc_link *l) return ((l->bc_rcvlink == l) && !link_is_bc_sndlink(l)); } -int tipc_link_is_active(struct tipc_link *l) -{ - return l->active; -} - void tipc_link_set_active(struct tipc_link *l, bool active) { l->active = active; -- 2.7.0