From patchwork Thu Dec 17 01:58:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Oltean X-Patchwork-Id: 345368 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3472CC4361B for ; Thu, 17 Dec 2020 02:00:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0306023441 for ; Thu, 17 Dec 2020 02:00:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727826AbgLQCA5 (ORCPT ); Wed, 16 Dec 2020 21:00:57 -0500 Received: from mail-am6eur05on2082.outbound.protection.outlook.com ([40.107.22.82]:13120 "EHLO EUR05-AM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727337AbgLQCA4 (ORCPT ); Wed, 16 Dec 2020 21:00:56 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PMdnnpE1JeUdaOYCshonIJuZo6kT9IFWFoGqmO/RTIHg+pptEflbW0rGvdIuLnuEWE3XfkZ0OsKvj9Nxdr2cKpse6PX9GEAsrkxhxzLYhaod+iu/K6csTB+TAKb8F00+fTJg5OUTRXKJZDiQYqqoFYnvyh/B5fmxdaFEXBoyJiMy59VIAEXDtgIGLzrmlJVnWr3mG24s8Yro6C5ZlFxNHRpDmqycLJD6RdnlKQbEx6XHXv8w45fypVHYVlSAb7hX80z0WJ0Nw9mH5ykgck2G004CUtQeQXaR6jLt0v7I3GVBuaNWGl2Gsf1bQYaS63pWWnUmiAm1Jsv6yOSVx3fK2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nWlWq0Pfm42J1wKNzuIkNhiX8T3koBrInU3j3tmX42A=; b=MfKOT9wN/f3e6qVD/7TrJat56nLhdVS1rIgtw1N3PnKlbt6baHIb5n0Ydyyg1+y7Dd9pjLZyMisZ2KPSgnPQMU0K5aqnABkrrzCJ19FIaV2+3s6Q1DkwXFZuVzl2NalMn/epUMAhHDkQQeaqcjIuSXxeQFalm6MLf0rXCci3jxej4lFEOsWsjxRk2uFYtdxK64ZhSOyF46gNpKbPkBXOdYr+g3OiQ3wxlMy4FDAE35y27zmz2l9/48Da7g6NCxonxyGoCwdwo4FQ9x/PboYpOwA06ZJsuOB9l099GBcmMbMLSHPBF5VNFmGQ46ihFVMsiiqH+Lh8px72BJFINf6EZw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nWlWq0Pfm42J1wKNzuIkNhiX8T3koBrInU3j3tmX42A=; b=jXTVL6asxD6lqOdkcCP45O66RL/4JOXlBw+t6TfHfWU+DQuNNVYWLQrkLgM6ePaGIk8/1pGy+6eiFjLBMIWzoVqZkH4fZA8rV/JDJ4vqtDLEmdYgMM9jIzNy1OiZSx3ejdpZXbvQVX8fZmSAR59sdWcBQouUY+WiP1+jOkC53HY= Authentication-Results: davemloft.net; dkim=none (message not signed) header.d=none; davemloft.net; dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB5696.eurprd04.prod.outlook.com (2603:10a6:803:e7::13) by VI1PR04MB6943.eurprd04.prod.outlook.com (2603:10a6:803:13a::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.17; Thu, 17 Dec 2020 01:59:11 +0000 Received: from VI1PR04MB5696.eurprd04.prod.outlook.com ([fe80::2dd6:8dc:2da7:ad84]) by VI1PR04MB5696.eurprd04.prod.outlook.com ([fe80::2dd6:8dc:2da7:ad84%5]) with mapi id 15.20.3654.025; Thu, 17 Dec 2020 01:59:11 +0000 From: Vladimir Oltean To: "David S. Miller" , Jakub Kicinski , netdev@vger.kernel.org Cc: Florian Fainelli , Andrew Lunn , Vivien Didelot , Vladimir Oltean , Kurt Kanzenbach , Hauke Mehrtens , Woojung Huh , Microchip Linux Driver Support , Sean Wang , Landen Chao , Claudiu Manoil , Alexandre Belloni , Linus Walleij , Vadym Kochan , Taras Chornyi , Jiri Pirko , Ido Schimmel , Grygorii Strashko , Ioana Ciornei , Ivan Vecera Subject: [RFC PATCH net-next 7/9] net: dsa: remove obsolete comment about switchdev transactions Date: Thu, 17 Dec 2020 03:58:20 +0200 Message-Id: <20201217015822.826304-8-vladimir.oltean@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201217015822.826304-1-vladimir.oltean@nxp.com> References: <20201217015822.826304-1-vladimir.oltean@nxp.com> X-Originating-IP: [188.25.2.120] X-ClientProxiedBy: VE1PR08CA0028.eurprd08.prod.outlook.com (2603:10a6:803:104::41) To VI1PR04MB5696.eurprd04.prod.outlook.com (2603:10a6:803:e7::13) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (188.25.2.120) by VE1PR08CA0028.eurprd08.prod.outlook.com (2603:10a6:803:104::41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Thu, 17 Dec 2020 01:59:09 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 42a44f37-ef14-4bfd-e500-08d8a22f58d0 X-MS-TrafficTypeDiagnostic: VI1PR04MB6943: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kkn8qBwfn9jB8dSYfDUCXrvNIle35nO5OnMe/7PVQJHc0uR2Hx1+YCUEslZ3i4RnZ5q3ghr6gayD9G43zjztqGlqwq4Jz4QgurSVEN7nGdXpj5HsKZ9nL+lDM0hdFiTrnHWBVEisk9K5e25b1rpy37WLw03YqEXjR8IFeHJPM2UsNtFJn8C6LGAYTW2xpUmHlfwNEyV/GwdT4SLaV1jHjBDV96f+cCW1g9EdfhLQ7RxrXj12Xb18EG2o/hcUVDw6hnh3aI4x5BhXolEMGhgkh1zzgt0SWH3avbLlBWOXGrrexRdoSgvZbGW3nubA6Gw9XVQ/TUe9A40l/CC76yG9vCFdVhL04hZXI6RngRDm9sxlqleIAb/ZHjHzeMnRLvq2 X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB5696.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(376002)(136003)(366004)(39850400004)(396003)(6666004)(6506007)(16526019)(478600001)(956004)(2616005)(26005)(7416002)(83380400001)(36756003)(66476007)(66556008)(110136005)(86362001)(1076003)(5660300002)(66946007)(316002)(186003)(52116002)(6486002)(54906003)(69590400008)(6512007)(44832011)(2906002)(8676002)(4326008)(8936002)(4744005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-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5696.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2020 01:59:10.8633 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-Network-Message-Id: 42a44f37-ef14-4bfd-e500-08d8a22f58d0 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: v8GWVLmmHnn/8MnolGFEAVL/dFfmQ+ynEv8L9ItcBepmIw0WPvqp2Pr7XeDrDQpEc3Su1cc6zRAlvRd9upm0Lw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6943 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Now that all port object notifiers were converted to be non-transactional, we can remove the comment that says otherwise. Signed-off-by: Vladimir Oltean Reviewed-by: Florian Fainelli --- net/dsa/slave.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/net/dsa/slave.c b/net/dsa/slave.c index ffad4324c736..c5f38bcaa5af 100644 --- a/net/dsa/slave.c +++ b/net/dsa/slave.c @@ -379,11 +379,6 @@ static int dsa_slave_port_obj_add(struct net_device *dev, struct dsa_port *dp = dsa_slave_to_port(dev); int err; - /* For the prepare phase, ensure the full set of changes is feasable in - * one go in order to signal a failure properly. If an operation is not - * supported, return -EOPNOTSUPP. - */ - switch (obj->id) { case SWITCHDEV_OBJ_ID_PORT_MDB: if (obj->orig_dev != dev)