Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1290603pxk; Fri, 4 Sep 2020 06:02:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCmeR/7I8SJhU9ycz/cmI76Tfc4KqddIt/EIGGbmtbd83Gx+1bMcOj39dVTcCTa2CBq/ZQ X-Received: by 2002:a17:907:20a3:: with SMTP id pw3mr7548750ejb.314.1599224535700; Fri, 04 Sep 2020 06:02:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599224535; cv=none; d=google.com; s=arc-20160816; b=H6Fvhqofy3NgNbcx+37C0YxkSjcG61tdqRpKlr+wfYg05kbuZOaLqR0yB9OhLqXtun HtGZO1UMVufjpTz0AVzPfcERbSrtVLmYA/7o9QQwqevm7ialwNVTOZwEJMNdvefBsvZa PWHO+TyoWv4ATbEZdS8+nOBW/FZwdKSL6kf7rxtBrXWAVh3IGe9HTdux30ZH7ocU3Fwr YHciT4dJaB/rJzvEfjMr5SDiybBRgHMqvCDI+JfB3gqAghrFGoAX2TFeK3HyJqJ3JEuX 6HQU0o0zVThsUzQljoG54IywjG2MFJXw1Z8xyW/lcRyRtNbTKjfgLIdnqLtc36yh5n7e 7wLg== 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; bh=LSRbcLU0/FYhMCuI/zfSyWwPCU+xTDcqz3C7o4+ih8k=; b=rYd9jQCyiK1VnMlw5M6d37s7DCe2q44Pqbf0fGV06/3XybTwLhucP4hMg1MLzibGsg fKLkpaC+uHKGj4Z1Cb9YjaIuPZ/bNr3F4py9JNd6t6vvZ7k6r7NTj7sgf5z06P0pSt8b aircoV0mY6rqxlZylMEJERhvOXfZakYJhLbFQ3LxOkg9uviGhdeV0KVLWy2eSo28l1W3 zQQS4vT8pN5McBg5H26FMfq+wdTKdTseWhqprKSD+xl9lWPqd6T2b7n187aAVuzhKKaa UU2KPnOLBWUtbwtmqY2WUMsevvZFJXXLgwR1kgB+SshD5C8nk3/3DQ3te7YHZzH5J9MT k6Kw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j25si3732580edf.435.2020.09.04.06.01.52; Fri, 04 Sep 2020 06:02:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730329AbgIDNAX (ORCPT + 99 others); Fri, 4 Sep 2020 09:00:23 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:10771 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730281AbgIDM7j (ORCPT ); Fri, 4 Sep 2020 08:59:39 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 722D292D5CE18AD8CE44; Fri, 4 Sep 2020 20:59:32 +0800 (CST) Received: from huawei.com (10.175.113.133) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.487.0; Fri, 4 Sep 2020 20:59:29 +0800 From: Wang Hai To: , , , , , , CC: , , , , Subject: [PATCH net-next] netfilter: ebt_stp: Remove unused macro BPDU_TYPE_TCN Date: Fri, 4 Sep 2020 20:56:53 +0800 Message-ID: <20200904125653.15170-1-wanghai38@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.113.133] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org BPDU_TYPE_TCN is never used after it was introduced. So better to remove it. Reported-by: Hulk Robot Signed-off-by: Wang Hai --- net/bridge/netfilter/ebt_stp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/bridge/netfilter/ebt_stp.c b/net/bridge/netfilter/ebt_stp.c index 0d6d20c9105e..8f68afda5f81 100644 --- a/net/bridge/netfilter/ebt_stp.c +++ b/net/bridge/netfilter/ebt_stp.c @@ -15,7 +15,6 @@ #include #define BPDU_TYPE_CONFIG 0 -#define BPDU_TYPE_TCN 0x80 struct stp_header { u8 dsap; -- 2.17.1