From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10048.outbound.protection.outlook.com [40.107.1.48]) by dpdk.org (Postfix) with ESMTP id CC3961B3D2 for ; Fri, 28 Sep 2018 14:26:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ylAtaQ7k+ixjC4jZahcFQ6VsTaFB9+ykjOy7z6YRFEo=; b=OGNRPicqxneKyVKL32aggSQ+aXUBTUjfGbpDsPCbFWtdn2IU1EX+h0NTNAej1Lm4k+PxFmLi9Xspe755jEGLWNEmFBOg8HoRzsWNH7HYBifBizq++JDVYBtQcPzPUYyObkRML3CfTuibHj6nm+tQV7WbtKRDCqJGiKHcXFXAMX8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; Received: from Tophie.ap.freescale.net (14.142.187.166) by VI1PR04MB4685.eurprd04.prod.outlook.com (2603:10a6:803:71::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1164.22; Fri, 28 Sep 2018 12:26:45 +0000 From: Shreyansh Jain To: thomas@monjalon.net Cc: dev@dpdk.org, hemant.agrawal@nxp.com, Shreyansh Jain Date: Fri, 28 Sep 2018 17:56:03 +0530 Message-Id: <20180928122604.32618-1-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: BM1PR01CA0088.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1::28) To VI1PR04MB4685.eurprd04.prod.outlook.com (2603:10a6:803:71::13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e5690f17-bb13-4b23-dd5d-08d6253da855 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB4685; X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB4685; 3:W1PG90zkim0iYtMVjPQdP8c+uvqcpPeDjhuhe3T1+KY0wqIAcUfQvO7VO8apgyjoXfDQ8L10ScVMcf3vdhAxD+Cm5Tw3KE/xkUBlC61RgpPCjZss334w4dTILU1op3PDHyVz0VR1lJ8XJbJPiBLeiweoJJKXRNlqipoyFliP1byvZeCya5cHDYAGcwGXK3QaL1xb4WDZQQg2dxmTLeBk5Mdudq3GNZ1bVomNqM9LLRvD3Amqv38pHcvywKW9y3/H; 25:TG3DUMDtLLcejEn2cGHIBDnWfC3sfOVyEkFSxVOcWPC1YCdPNrd5AHt29mVVHNDyHSRq+QPFLo7u4uZleIQefMfoxmoZdGaWDp3B8GJub6KWfW0Wux4ONeaC7Qp16Xp4R0qP11H3oHMLlH3nN4rVELJ3vcIYf+7rNhjVy8HEZK0HjyOtC3tTxzzGadjnuv3XjKy2OwNUvLkH/rema/X36t+xy9yzUeoc2j/FHJkYBCcdsfQjOOqW8Vnl78iY73xt6hNn/7/4+c/RoIN3lXU/2Wkif3OeIWoOOQLn8DvY07YQJEqG/7Oo5dMKtzm/8CpF880FR+BOZvoHkd+rmetShw==; 31:3QLZMQjxRfzqeKuf634vuYUl5sRyvpvLZwR3341zuKQn80oGw1RRNrlI+TsllLm08ISUdSI3dq7OxGK+8jwcK5sPRBXIVXGC7obOizRn1xE/gqMi4FCfXn/ZDEQtXespobMmcFqkAHiJK3vGiSt/x99T9mzASPKnWfgKUHPWR/Q8E4EKoHjL1cqHXS5sEd1sQNPKoBAQIC8mV1K2bwFbr/nvitqKtwfm7eLSJMKlWrI= X-MS-TrafficTypeDiagnostic: VI1PR04MB4685: X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB4685; 20:dnEliIpApKdUr5QnSflBER6iN0J1JSVKzHY5oUCtxMm4hwZnH/MEefSbh68k3vqI00MxT9jHuqHgdcCnXku52U/JvXusl05ABDCdwo4OybUnh5XZAI8d2khMA2eTS3URK2KjFF+4qu95TE7ywrj4xx85EOOLLlBJd1shM346O7tKN4LAB3vbMAcqAVrTvkxperArlDWjxgugws1lzKTns/aUVOdQ+O7dOg194O+3Fz9wG9dWhr9cEXoPC50QXpAuNYROhWdjvMcM3TtUOi3xETFF0/RNMLvFrrHle7qV/7SyIU5+fJGLYIt3C/sPTZfZTNi9bVJurL6wG7VqK+eUPCSkVi0k83zOJBHs20xqZJFKxd6T8J/gxkMVStBT76T0lqWG9b6KtMPBoFgeWt7JOAuPzINFWXu5EzAXD8l00/KRcEcWXwPY2ZCPV/x9m21blQWtWmkJ5PGhn8QIaHFvfFQ8oXwwl9ByzUhODDmvcA7Nc9PZhkR2gFmhroEcc+/8; 4:Wo0NcIxNIe2Mpk7Nrn00GZIhdIsb/pb4FxGzqC5BGnOMLi5eV0mNFA0mPwALxjXirdYLzyJcEteft9w9y8vpLcsIhwCMbbY3dT6b1+tX8hjbRWmv3FZsTCfOm4vr7ZeJpV1MXHI905v5eO7n4wA7AgcRbPfOctZAB4ZxTcwoe1zu2Jzs3WEpSCnX4EQJVz808tTtkgebzQQbkBAdHNzzGvVjE1wn2Vs4qPFbvxbUhzNoLOSZhSKPpjV2qjJlel/UEvvq7tSHRuSTvYk1Stl4G9tKzJH7JPIrFxiEu1wmb+l+pJ4eKghnEzdg+Ye55WOT X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(10201501046)(3231355)(944501410)(52105095)(6055026)(149066)(150057)(6041310)(20161123558120)(20161123560045)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051); SRVR:VI1PR04MB4685; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB4685; X-Forefront-PRVS: 0809C12563 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(136003)(39860400002)(366004)(346002)(396003)(376002)(189003)(199004)(6666003)(16586007)(50466002)(1076002)(3846002)(51416003)(52116002)(6116002)(4326008)(486006)(316002)(44832011)(25786009)(97736004)(48376002)(2616005)(2906002)(956004)(476003)(5009440100003)(2351001)(26005)(2361001)(105586002)(106356001)(6916009)(86362001)(6512007)(478600001)(6486002)(36756003)(8676002)(8936002)(81156014)(81166006)(386003)(34290500001)(66066001)(5660300001)(305945005)(47776003)(7736002)(6506007)(16526019)(186003)(68736007)(50226002)(53936002)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB4685; H:Tophie.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR04MB4685; 23:dax/4k/Rsg3s/WSdKGHYKNHy98Y7a82VrToa1WnJ9?= =?us-ascii?Q?iP8ymh3ZFqy3A11m6iqD3P06ylUKwUkuPwAQnJwMnPrPpWh6yK4eRyCix/p2?= =?us-ascii?Q?Cd/gfIueuv2QxcB+KB8Jq/pU1zAdw9Nn9qMzTe9xvNtIjm50gWxGhLKXwuWu?= =?us-ascii?Q?oJJ3k0FmrHOC77hN61Pocw7Py0XDCaahRWNkIuOlqbaulQBuCI9nxEtKjZLr?= =?us-ascii?Q?JL/nnc53GRm26BfB551xZFYfXMdXJxw/PgLLWlYzxDHb/iA4IW4T2SOpODGm?= =?us-ascii?Q?s0x/hDUEw40yqpd3bHAZAWgZeVXdhiLINbqsOTjJ0/z3lGz490trDP2Nna+9?= =?us-ascii?Q?kmci/ukG76ja/fV8nHhSHJ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MHnzf/w+iCEMvADfNgvd09H8sAvY+kU4TM4=; 7:387/FtX9NhtqrF+ppEvvdjANxda57oWowkdgpYG8cTqtbU0gKChZaDNoK6TJQc6l1eWCHXnK7Kj6l2Sc/TXUwf2CCF4B8ZddCuIAwfhqjLCMeEpdW2VUa4IDjqG0n9fkOzo01r+JI6B7B53eQKsI55RLHwTx4Vb0pRrmS3aLKKa26Qp4+pnVXLiBgchhFcO8OHdJOnOvzhIHU4x/DoT4GBdKJA6VnKskLQ6yoMoIcNTwqNouM3hQ06Jwu9mpYIXi SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Sep 2018 12:26:45.3176 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e5690f17-bb13-4b23-dd5d-08d6253da855 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4685 Subject: [dpdk-dev] [PATCH 1/2] drivers/net: remove double assignment of driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Sep 2018 12:26:49 -0000 Removing double copy of driver information. 04664e5c8346 has shifted that from driver's probe to bus's probe. Fixes: 04664e5c8346 ("drivers/bus: fill driver reference after NXP probing") Cc: thomas@monjalon.net Signed-off-by: Shreyansh Jain --- drivers/net/dpaa/dpaa_ethdev.c | 3 +-- drivers/net/dpaa2/dpaa2_ethdev.c | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c index 30eff657a..de4cf7b37 100644 --- a/drivers/net/dpaa/dpaa_ethdev.c +++ b/drivers/net/dpaa/dpaa_ethdev.c @@ -1371,7 +1371,7 @@ dpaa_dev_uninit(struct rte_eth_dev *dev) } static int -rte_dpaa_probe(struct rte_dpaa_driver *dpaa_drv, +rte_dpaa_probe(struct rte_dpaa_driver *dpaa_drv __rte_unused, struct rte_dpaa_device *dpaa_dev) { int diag; @@ -1455,7 +1455,6 @@ rte_dpaa_probe(struct rte_dpaa_driver *dpaa_drv, } eth_dev->device = &dpaa_dev->device; - eth_dev->device->driver = &dpaa_drv->driver; dpaa_dev->eth_dev = eth_dev; /* Invoke PMD device initialization function */ diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 8d3d54bfe..880034fcf 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers/net/dpaa2/dpaa2_ethdev.c @@ -2007,7 +2007,6 @@ rte_dpaa2_probe(struct rte_dpaa2_driver *dpaa2_drv, } eth_dev->device = &dpaa2_dev->device; - eth_dev->device->driver = &dpaa2_drv->driver; dpaa2_dev->eth_dev = eth_dev; eth_dev->data->rx_mbuf_alloc_failed = 0; -- 2.17.1