From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0056.outbound.protection.outlook.com [104.47.0.56]) by dpdk.org (Postfix) with ESMTP id 1C562235; Wed, 9 May 2018 17:11:27 +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; bh=2n6UBYLr9DS3b4nW3NFjBwc9OO/DaXYmsakuxyxFwr0=; b=LVpOMKGI/hXJmY6ugfqAEMm7sDSn2nz8vbHhwhZD2tjtfBlL6x+iSbPcGBWsBxmQElHkPaIRnbLJa+PinTYWjqmoKv9X9zhYiHfZVcCQ9Yrc+1aO+zahrsJlf5BZ0Va8Gx7wsPR50r1H80YsVkVqqbXlnPNhLPnrFQ0eK1wF2ng= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; Received: from Tophie.ap.freescale.net (14.142.187.166) by AM5PR0402MB2771.eurprd04.prod.outlook.com (2603:10a6:203:98::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.755.16; Wed, 9 May 2018 15:11:25 +0000 From: Shreyansh Jain To: thomas@monjalon.net Cc: dev@dpdk.org, Shreyansh Jain , stable@dpdk.org Date: Wed, 9 May 2018 20:57:52 +0530 Message-Id: <20180509152752.30421-2-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180509152752.30421-1-shreyansh.jain@nxp.com> References: <20180509152752.30421-1-shreyansh.jain@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: BM1PR0101CA0070.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:19::32) To AM5PR0402MB2771.eurprd04.prod.outlook.com (2603:10a6:203:98::13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(5600026)(48565401081)(2017052603328)(7153060)(7193020); SRVR:AM5PR0402MB2771; X-Microsoft-Exchange-Diagnostics: 1; AM5PR0402MB2771; 3:Th3Ifd/pjX7mcUSXa/MXtkVTpWCIGTK723LzBT/T8CBqFgGO8eFCd3GQ7CEYtzuhl3PeAhGPNZ0Fza88LE+ET8fFxEy84BLz7iwTlzO7v70nm0Nz2ahae6UjyhFRi6kf3vviM9Z2xmERHu9qVvikNUy31hxBrpzapyMfG6NW1VBWwewBveAm9QC9qFHF84fQLD0ktspu+RIdCALi3OnpqcXsvX+e4aOPzF5SGwByMYic3jBBZAz0D+e2dAuS8l//; 25:8gZ9BVrqOvd/NZ7zBFNyRRjHE0tIajW6yKu8B5miqAxEmOqgx2Gv9j8lfOseA0q0UrZVtKJW3ShsRR0bmKywrj5l7NM0UQVWrcSEEYWxbOs3e4/a4rm1Np+epZqjVZDQLiiXrNOzbTd7e3wuGTk95S4HYYfm/wrTUu1XdDGBcWUdvqglau40yCqGhYQCn1qjRzvxYqQrwumtF2E7AdXx8yVpQl7M6mFghocTyOMYB/ET/AlARErnNI0fBxXrDL7iqDbLFG/kl/E80SYlvpeiqRD3BqkG2V9bsQDuC7NY6PyHEPcrBM5HbiclXzv3r3N9f9blZ0miMVjz+rngwNN45Q==; 31:gERFVrIzqNsUYObLHrUjWJ1e8vbf/h89bbtfO7jTj/y5EP4E+0Fg7KsORqFPifve8ehQym8wWhasfsBJC2CMijAN33B5qAkfDQtbR8zX+pJK6N5oDEu2BgovSvUVb6TuZd3j4WVfiX7X5+IAafJxbsAzxPHH5FAinRS2yy3pZrju5P6NFH1RPfr+plJBEt+W/lGWmtC2x0OV9M1+Pat2d3TlwOO+0vrzRFH29+jCu4w= X-MS-TrafficTypeDiagnostic: AM5PR0402MB2771: X-Microsoft-Exchange-Diagnostics: 1; AM5PR0402MB2771; 20:ETSvKyOdQrqoNZ6/J944HPNXxewmOn18ndFg8pAMnzeX+gsXRTLeWH4LsKPzAHIxaTGx/oks2ixAQm5ejE2W2NdJZeVPGLO/UqCoXlKcncB/FVRsc11HOJloRTteZDg5s2CGV1c07XmNI2Zui0HR2QJmQIwKYTvcXTAT4t4jD/aQNxErae9dYA3cf7Ppq0irsuAXKdGYE19p5w06uDYjGZBfLbEwVjrCo40NY8/IAsI76O2Ug5EqUjybsdCC0hRcdZmQCxo4zPPw1Yq+G5u8kEBESWn7j6uEFYGM27b1SPsQ9Wp7xgTCCvF5+Bn+Otc7oKW2EHU11I4kZE23yBgFvfVyulq93MVj7Uufe6lpODi4+rSzelMGWz5/94rda8j8IDjnwisdOuqfWAtIdrgBb8pnLFIz49NgW/IvGn/Z0TaJkvl9Q5LA2wxDUYB0oK4Q0+//xrC/MzNA5oKLZPBLraldC9BfL5qw+5Na4kLRoBEEXbIbZiSkpzYNv9Ln0qwG; 4:hz1a7P1uWwGC9ZFY9gkRPWEymDDj+v8KokbnP/Ov3fTQs7lDbTThbHozOzfixcdE7dP7i8HmU+2lKmzgQWCSJE16Ic0JmJGDWIVT/ZbfPhjE7xRp/8TZd/4zF04TSx71Rog4QaJDS5f0cmqHNQhDePy9SPrHS0epXLWzfJWbC0i+cADXSztyRioZa7zLanmWiE7xfUbAX5ziDEHwV/aHzfpTp7ul2G1bMjt2A7SAllTafzXa72esWFZiT5s88IKBNOK+qduN/oAg6ba4NvCBJMXeq9AQqWpv2Pm4Rk73JgbXJPvuColaI8Sc541OEPv4 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)(3231254)(944501410)(52105095)(10201501046)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(6072148)(201708071742011); SRVR:AM5PR0402MB2771; BCL:0; PCL:0; RULEID:; SRVR:AM5PR0402MB2771; X-Forefront-PRVS: 0667289FF8 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(39860400002)(346002)(39380400002)(376002)(366004)(199004)(189003)(50226002)(48376002)(5660300001)(86362001)(44832011)(6506007)(5009440100003)(4326008)(1076002)(386003)(16526019)(55236004)(3846002)(8676002)(186003)(105586002)(2351001)(50466002)(26005)(81166006)(81156014)(2361001)(8936002)(6116002)(106356001)(7736002)(76176011)(68736007)(2906002)(53936002)(6486002)(47776003)(478600001)(36756003)(25786009)(316002)(97736004)(51416003)(446003)(476003)(486006)(11346002)(6916009)(52116002)(956004)(66066001)(305945005)(6512007)(16586007)(6666003)(2616005)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM5PR0402MB2771; H:Tophie.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM5PR0402MB2771; 23:wM6fQPy4SYzmULh+jLDcCzl29TfHu7Qprm5jJ6f?= =?us-ascii?Q?ypm3n44cZUTf+NlkgfabMyrilHgNfaK0+mfyT/GbS0m2cqrQbmYb5nueDmS2?= =?us-ascii?Q?xJhLi8H/YbZbEITKl6rHNZZLX2pIFeCkJkuuCb4lgB4t/WqQYjg6P7NzofZO?= =?us-ascii?Q?GKPkeMORpWP0RcJg2VI6DINkBgXzdNWmA0i5c0lipVi/y15YC8+7Ev38DQkQ?= =?us-ascii?Q?LeodeJpu3MEEKB9Bhz8s5c8tEFxsnoovLDZA28/eQnEUjRpm2t9xaojd9CD/?= =?us-ascii?Q?w4UDCY/7XECA7XdXyC2aHPRy662m5QpjqDqGpdOyWuDsx4NWtIrYbECwPoAq?= =?us-ascii?Q?li037qTc9uhC5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qqBlH2aw77LBZ8zdpO?= =?us-ascii?Q?pmwUeJ0viPQ/vjmSnRHtxIOx96T2OxFRW9c+3g2sbulgyBi5H0y3jU9zX0fE?= =?us-ascii?Q?hzH8CdSELR/ra075wOho1QnHDFc6taM3x/JSVdQe18biN?= X-Microsoft-Antispam-Message-Info: 90OwVVyqIkQIz/aTrf4l5InnOzH8Rm+Z29yvZ7GkkcA1cN8vgmhsIahJasJglPwITjfh57G8A/td76VCrZMh0YqscknG4J0H6iYTIZkAC2FbPsL6SIPUK/QiKLX9mu21l0rTda5XsnYheXSeMrTr39EQLjqom00FFhoWLTNaLPcNLbA+HhQDsREXF+dHpStQ X-Microsoft-Exchange-Diagnostics: 1; AM5PR0402MB2771; 6:15tuZkJW9yRXwMUQLyhRxaeklV3N4gSQ1sphk5Wo9TuwGhQSxQVpM/uGaEfQ9eX484j7d488b6fnHvZHgq5h4m5GghigRALKIdyZQMy9And2WbG2gp69jPmSd+EaWN8So1Ss1tdT0/ZQnsGRQi4GpR6bpyIPfYAbE/nVSHCi5Gzhdpr6cwPzoiXmwJZMQNFra3WAExXoFDt0k/6/CIAuhBhi6XapNuZm8jV8L5QsKinpZtmoyhNczVOXi/LNwqKi/49bBH4gKfOlGkwAD/uT2PNir2qgxw8Owfx8SCmqkikqm5dhnntf2xdxqiC/xUL5PNj0ek5tXuf6Hwoohl/aCFJj2AGobMheonAnk9U8K2xp0v7c2avvDkAyrE0Imt7xm0YRzLoVOXSTZETsKy6i3pD66CFM9Ozmn3CNavqK7ustOFg1E98EygtXi/lfz4G9gYJ4QJAyD1vmPqcblojGGw==; 5:jTMT66jjmJ8QlEW/BDpq2ymK3ZjATzkxuy/edZZOSH2v0WfjKVFzMIzs5KT04KFRohhBcorAwF3X4vE14qeSQro7QKF85TpwmD822ICV8YFPwW4FVop41MzS0CR0NA20MPnx+R6nTN1/b0qfCQOPVPmSOHEdDznIxcdd6dPG068=; 24:FbAvMpaGGp1O7Q8eXio5ufcAWpPUjvaeYathMUQjupLtm2ngbcNCM41CCswOsJ6WxOmjB7eotPTkx3fvtVqByA7DfwNKlEF99MdQ8o/iQ3Y= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM5PR0402MB2771; 7:tysdFdJqj41NY0XqhWzsi8qQh2WGduXJtGA8cstmJBrr5INLHQIOQ9kiwEE9zbvbaPZQuXpqtO8YH4UnwV+uECjOg90LQvDfBM9Xjt6W+6+RYNszub+BSOGbhNjZnVJc7xlS6nE0aVAahNvlkYFwrqI2UNUbkEAg/tL8KtB6/6Z8rHS15fz6Rx+Sb23izX27lDOUIeHUI91vWKVT6Gn1y1T46zPbtiA7INJ4lGxsNxM4pCPyc8mAwnE25xyWWcvr X-MS-Office365-Filtering-Correlation-Id: c31175ab-60bc-4235-79e0-08d5b5bf2233 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 May 2018 15:11:25.1005 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c31175ab-60bc-4235-79e0-08d5b5bf2233 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0402MB2771 Subject: [dpdk-stable] [PATCH 2/2] bus/fslmc: remove dead code X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 May 2018 15:11:27 -0000 Fixes: 828d51d8fc3e ("bus/fslmc: refactor scan and probe functions") Coverity issue: 268338 Cc: stable@dpdk.org Signed-off-by: Shreyansh Jain --- drivers/bus/fslmc/fslmc_vfio.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/bus/fslmc/fslmc_vfio.c b/drivers/bus/fslmc/fslmc_vfio.c index 9786143d8..113c96d49 100644 --- a/drivers/bus/fslmc/fslmc_vfio.c +++ b/drivers/bus/fslmc/fslmc_vfio.c @@ -668,9 +668,6 @@ fslmc_vfio_process_group(void) } TAILQ_FOREACH_SAFE(dev, &rte_fslmc_bus.device_list, next, dev_temp) { - if (!dev) - break; - switch (dev->dev_type) { case DPAA2_ETH: case DPAA2_CRYPTO: -- 2.17.0