Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp5074339pxb; Mon, 15 Feb 2021 08:50:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJzvtuJa2SDCH+V4RvU+y9Q1L5yorBNiXr7gAS+vm+fRymtLP1vAYjMnhydZkC+JYR5eH7FI X-Received: by 2002:a17:907:2957:: with SMTP id et23mr822137ejc.543.1613407845034; Mon, 15 Feb 2021 08:50:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613407845; cv=none; d=google.com; s=arc-20160816; b=TAec4wtxPLvqMX4nfyi1W0NAYnUVFVCbZNi105yVK3VBPVzkmX831Rrv0Cn2J2iBlM jmGPsOxPEFEau3fBjkr50tmCjHIpVXUF9J2cQBwUFkKpNltPfSO5uEr+XYMhDiSs6Co9 Bxcpl0Pln8AnsKlAcBRJCPIsZQA3cpvueVyMImfkT9gKincmm8PQYoax2UyqvjOy6zUy yUyTnBRMu7jyCYmJiQqvJwL5Ujb/afbrGvO5xN/vB5679LfRlqyjkflUZxgb57EXTARf i2mcRkNZ8jJ75pTCndT3wXzCxr9oK/EV5/BqzqazIwnhHfIYQf2MvL+eHrATYEGMdBpa EbMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=z5VV0o2IluJxMIlXdAF+OLbjIkTF4K6O0FarJVEE3nE=; b=rPhCThsbjoHDYAOMUl5/Q8I5ccOmM4X6mePHPTahYX0XK4+934KwMKpbqmMLN2orq7 hUqbjmOgtD/S8r/Xpknc7vOtgEVQ/At40isznRxB5F2SW2CJ4P4/sQRogo3q9nmbw95X N2LEdIm7zJVUxyM2IXstfQJrgbj1P4D7BrByCB3l2i1E5Eo3a7nBcQatdR+RMzKu7gau cILWF92BtQJRy3+f0JMbSgdDAsMufg12LTrXUnexcb1vw9c7NXE9/w4shWFF8rFDgHsd sn5f8aC4Za1bKjhANJCTLWzegrjLkbve2OHr93vNgRofjzcJ8P2T88XoiT4kJQ/XfHRC Miqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rPbwLW3U; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c59si12140186edd.508.2021.02.15.08.50.20; Mon, 15 Feb 2021 08:50:45 -0800 (PST) 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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rPbwLW3U; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231905AbhBOQtr (ORCPT + 99 others); Mon, 15 Feb 2021 11:49:47 -0500 Received: from mail.kernel.org ([198.145.29.99]:49202 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231322AbhBOPiX (ORCPT ); Mon, 15 Feb 2021 10:38:23 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id F383064EFB; Mon, 15 Feb 2021 15:34:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1613403286; bh=JKDRT1aG4NKmi0QJGTdK3fJt/hWYLn3Nnfvi7OxVZT4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rPbwLW3UkRVHZhjqHBN+4iKJimVHsmk4SZLprfrLx/TyKUO/x8s+x6VTxvPK/Ag37 6KknqTRly4M5LIosju2vn6QedkYhtlDB7WGpJZFZU1Tv0cISzQjTU2ml0BtgxaHrUq MiXeT1s4B6jYCf7lEUvFrQdLzGqK141jj/1MNB00= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Horatiu Vultur , "David S. Miller" Subject: [PATCH 5.10 098/104] switchdev: mrp: Remove SWITCHDEV_ATTR_ID_MRP_PORT_STAT Date: Mon, 15 Feb 2021 16:27:51 +0100 Message-Id: <20210215152722.633343806@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210215152719.459796636@linuxfoundation.org> References: <20210215152719.459796636@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Horatiu Vultur commit 059d2a1004981dce19f0127dabc1b4ec927d202a upstream. Now that MRP started to use also SWITCHDEV_ATTR_ID_PORT_STP_STATE to notify HW, then SWITCHDEV_ATTR_ID_MRP_PORT_STAT is not used anywhere else, therefore we can remove it. Fixes: c284b545900830 ("switchdev: mrp: Extend switchdev API to offload MRP") Signed-off-by: Horatiu Vultur Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- include/net/switchdev.h | 2 -- 1 file changed, 2 deletions(-) --- a/include/net/switchdev.h +++ b/include/net/switchdev.h @@ -41,7 +41,6 @@ enum switchdev_attr_id { SWITCHDEV_ATTR_ID_BRIDGE_MC_DISABLED, SWITCHDEV_ATTR_ID_BRIDGE_MROUTER, #if IS_ENABLED(CONFIG_BRIDGE_MRP) - SWITCHDEV_ATTR_ID_MRP_PORT_STATE, SWITCHDEV_ATTR_ID_MRP_PORT_ROLE, #endif }; @@ -60,7 +59,6 @@ struct switchdev_attr { bool vlan_filtering; /* BRIDGE_VLAN_FILTERING */ bool mc_disabled; /* MC_DISABLED */ #if IS_ENABLED(CONFIG_BRIDGE_MRP) - u8 mrp_port_state; /* MRP_PORT_STATE */ u8 mrp_port_role; /* MRP_PORT_ROLE */ #endif } u;