From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0054.outbound.protection.outlook.com [104.47.42.54]) by dpdk.org (Postfix) with ESMTP id D18CC1200A; Thu, 25 Jan 2018 10:54:51 +0100 (CET) Received: from BN6PR03CA0005.namprd03.prod.outlook.com (10.168.230.143) by BLUPR03MB1409.namprd03.prod.outlook.com (10.163.81.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Thu, 25 Jan 2018 09:54:50 +0000 Received: from BL2FFO11FD014.protection.gbl (2a01:111:f400:7c09::186) by BN6PR03CA0005.outlook.office365.com (2603:10b6:404:23::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.444.14 via Frontend Transport; Thu, 25 Jan 2018 09:54:50 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BL2FFO11FD014.mail.protection.outlook.com (10.173.160.222) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.428.12 via Frontend Transport; Thu, 25 Jan 2018 09:54:49 +0000 Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.134.28]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id w0P9sfR7022450; Thu, 25 Jan 2018 02:54:47 -0700 From: Hemant Agrawal To: CC: , Date: Thu, 25 Jan 2018 15:23:28 +0530 Message-ID: <1516874011-8760-3-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516874011-8760-1-git-send-email-hemant.agrawal@nxp.com> References: <1516874011-8760-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131613476899829982; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(39860400002)(346002)(396003)(39380400002)(376002)(2980300002)(1110001)(1109001)(339900001)(189003)(199004)(305945005)(336011)(2351001)(48376002)(50466002)(86362001)(8936002)(81156014)(50226002)(81166006)(106466001)(105606002)(97736004)(69596002)(77096007)(356003)(8676002)(36756003)(47776003)(26005)(85426001)(51416003)(76176011)(54906003)(104016004)(498600001)(53936002)(6666003)(68736007)(2906002)(5660300001)(16586007)(316002)(450100002)(6916009)(2950100002)(4326008); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB1409; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD014; 1:X/vXqJ61dDtBWBMlvq7d61VG9ReYGwk1MyWWEDsMqpidl3NIeihc+vAPAcQx7Xr2b6nwuPMqyonKg1uDam/VdUv3jMPjVWFahHO75MYeSp9z+OdQIKTswGXdrUXGYydu MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 72d4ea74-87ee-4050-5781-08d563d9acb9 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(5600026)(4604075)(2017052603307); SRVR:BLUPR03MB1409; X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB1409; 3:PMX8Is+E8RZbCDJIkWSDLVQI2K8MtoWIHAsQiq5jkv6DHazS3xUG8fQ85MyPPImm9BVGAlOuD7aqCiv8KSBvxgZK3RZnz/DHYLVdr4C9XrijnOZldYsDD0P3wrIlVJ0ZPie/gvH5dlb1NUSKTTrWIFvKzSv7RX3fsJfitJiK91wAnULIkfz0XjvC7uv8K7jmtP2v/avypMDEB+Zzjag+zxHhuSwt8FjgBQDRm0xlUIo9g14yTrZ/iUIeBJLpgtixu1TAYBnJE0PeSeml32hDaGd9/HrsLWnoRZ1vpYPq5jlRSb9drLcCh111AxXJcsEtVwrCutmfwgJECZavkSEJZA==; 25:hA3FS2BoHF8EhiCa98vmI9oHnB3tw6fr5paFj/8W2r6N2v0WkOOqrxavywv5xBFn3/Gi/hFHZMf0RTkgYiaEB/9SoyrgFKHK59QX8FTqAfRv+SvyeYEATrIrY1XYWhscH5zcuPHhWS6XtjWSsG2PQo3xHI48D1PJoHLr0dy+20HIEbqIp8QxV//7Bt7CHOo5itpofFVBaRDi254rc/OGAp8YFRFbcxZqrCx0cR1GPErb3szd/3eU1wzOseqWB8lKTnJ2lZb4Zti0jKLTdRVv9xO3fA25IowDVLX9F7nVHL85DFL1YU3CTSUSgrO3k2yQN8n8zcuoqr0PGN0557eo6w==; 31:7JIrCySadx1RZJjIoeHpSa/ezVzp3ucXMJ/N7CcV+sMpPiwD6AxzympMJdNo5GOx9kxsJgov06RaTWkktx8dHZYz5k2ytN4I4JIxVMOzWeNTE2Ed/RvA96vX46yFCfnqqgpxq2l0xAnL6wEHp6ijTafCQHPVVx++e8DgsxSiXOZDRAelrbAXKz5iEr+vyFHTbncejtPR0ESpwTWMdSmBLhtkYMunFORMLuBfaCMiic8= X-MS-TrafficTypeDiagnostic: BLUPR03MB1409: X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(5005006)(8121501046)(3231023)(2400081)(944501161)(3002001)(10201501046)(93006095)(93001095)(6055026)(6096035)(20161123556025)(20161123563025)(20161123565025)(20161123561025)(20161123559100)(201703131430075)(201703131433075)(201703131448075)(201703151042153)(201708071742011); SRVR:BLUPR03MB1409; BCL:0; PCL:0; RULEID:(400006); SRVR:BLUPR03MB1409; X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB1409; 4:5dDMD/HG/FkbVoAW75ItBZFvLK/cpIhhLYzekQhP8L+munKeZbfcFpkKClDg0qtcvzZjUZ3VmL8C3dej5xDLHsaY8VsSS0g6LuXaT2hVgHj13Jl4g2mymbNhOMCL3f2zFWBIVV4IC5MbGr0CFlQwApsaIvnIayFXMIbjWW5NizBZvxDwpl9lBLFSY+yzx+E9wHPRkEHunFKz4cDW9wTEkEpx9zt+or4OrBK1RqF6lZ6Kmk26foWr8KjzuJ+LsVtz1cpJ9I/9WxmMN9hoHN0rMNiY8pdR2FUoqHiLU+Rq0yYI58ayryhsRfSnE345ljA5 X-Forefront-PRVS: 0563F2E8B7 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR03MB1409; 23:EirAylnWoqXInqQU8TrYoWlaBHYFlUilfSDca51ZT?= =?us-ascii?Q?AtF8xFZ0KOFCzy8uhF3dEMRIZVbiYJ3Lp2s8hTw6zvBC3k6RMXc/0Yke+XH0?= =?us-ascii?Q?NSayBALec3bpRGRb9ylZYyPEHdslUf3bCeJSgqnYO3NUOYV0LA4p9h/gnWGq?= =?us-ascii?Q?yWav4q/wUhAVjjHj9lsOOf68D5AOlhKogeVn/ono4+9EhfZ200dtg17wNsmY?= =?us-ascii?Q?9JxIRn5Z4xmHcrkOXkyktE0ZIswmzbiM0BzEsqZjoyc9ie+ZwBb5uI6+xfOT?= =?us-ascii?Q?oTaZUl7/8JChJARO7tA8dlYEgmTGR1UFssHtyp7/QfhFOO/eycMB0YzaHvnE?= =?us-ascii?Q?i8cBjGb7CQgBIGPrh0wGc5lfmnmD3SeWpEdGZT74QY5gh9nur+2Uf/cRc+GQ?= =?us-ascii?Q?/AuKyyzFnKwF+RawkZlUkOPr1idpBlvB9w78D2YySs+24saGLToremOWLQYI?= =?us-ascii?Q?p/wB9ZcYKAsq5mPdaUj+1RFELOThJGCV6RQ6o+R01cMcNIjnQ+HWywloNoDO?= =?us-ascii?Q?3JqUhfibmGl++3JktqD/JrG+Jw74fT0qSU8esRKEJmlAnsxW2/1cxokm0EZS?= =?us-ascii?Q?YrSuoR8as5IiLReuH/DlEnFb1IBoQgJsf3A88UCzQ228P/fqSz1Mv5fcJ3UT?= =?us-ascii?Q?jhr5mIURvR/aGf9rE55tBQ/hI338Woc4q5Ko+5uttVm2Sp1RZxPelLsmI0UL?= =?us-ascii?Q?Zr/rReOO3auherVLBph4Y8jY3UqUPqkFK6jg+BGmMuJqi1G1vWBrmzMmbASS?= =?us-ascii?Q?btR5BN8W0SNcWhO0Q7WIYZsqguM6z/UfpBTdOOBa7QSHdTgDSngnR5MmSOg3?= =?us-ascii?Q?LxyWQYecOSMTFaI0UiRpT/Dl8WKliBXGtknx2P3RukeGFfKlT5zltKdsrRMa?= =?us-ascii?Q?xZ965SHRg1laM/4xaG0A9uzohD2yqoOgmj6kf2D2hYvSYDH2SIyHwBzXj41G?= =?us-ascii?Q?+xYKuwCEI2m1HQYUGuxb95sllnYQtjSpdOS+ueyKFDAywIjlaRI6CBATRNsm?= =?us-ascii?Q?M+/aaGil1XZmFpvcrU4Iz9roPsGRLhL4j2XdyU7Jz/fUHCn6VTkK6J3N953L?= =?us-ascii?Q?ujksu7tGpv6ZY7DxLhn7JkG2UhMKApyryO3GcaVKJVDUl3/MdaMdYchYyVC+?= =?us-ascii?Q?FLNsbRd3rs=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB1409; 6:QCLoXzOzmvwU0TKaAvsHwzH8hMO3DK5Fd5BjTOPUY82B91DstKEipmcHIs3Vtkn2UioM0S4kM+jTgqvIaogz+BRyQHTQlI900gJqXN0VortKeo/N3tKVLjC142o+116pec1xnKHdqK6ssbwWonBMrz4k3ZAXJ8o68b4Uub2JYj+sHeBFi6D/HnyYcIcPUIcw8XMEw2Q6p6pUEfiPwuExgiMoooY+v0G2QjzAvNV24UsqF7svjmQuq5C/KlSrnjekyyt2BzeImFJ7dTLOuPWc7tobXwbH1owMVmgWaQLBMCoHxPjlxgnn1VKR/qrZtSjeZfiFoCT++V0qLhsAehafgTzQRvs06nPqglSg/TktVSw=; 5:iyz85hVpqgmxSt8lf8AoavDnXwrglOecXvtgxZZzuaj32W/JBm3iRxDQhanRp8WF0XSwf+hEi0fFyAjgi+nV91AMjF7ryBzTZl3a58/Rc44TRmB1mbL0bwo7PqLrvA7M18YmXbw0rdvSsyT2k2Sm61f38enIer/16DB6UxYvlXQ=; 24:ypV5l1FEmyQQKk77jQppRflac3cXp6ik1FCIxGoeOTZXHRV6yy8WWa+6x/83n25sjFjibZFa7PS4FvIRrU4vYTx5ggXKTujAq0vhMXU7Lz4=; 7:0mPsciF656s79JaK+LZkDsdH2cuH2a1N93kPyi2rYvm9/NrqoTu+jpuIEY6BdcFzcm5EPn/6RCDEUxNCMJYJW3bC1Le5zh4iLl1SFa8Dglit0CqCcxiiU6aBOYgESPnV00H84IgyN8Dza61iVUxQBlA77y5Dot8sy6KkhKgiGoIQtSNJlBXsBh3ylAid0pwPECGUm7riin+SIHjA+8LyJ7PpWFrc989xGb0dlu9smlb73f2FQUYn6qRb6qbgaIiy SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jan 2018 09:54:49.7490 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 72d4ea74-87ee-4050-5781-08d563d9acb9 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR03MB1409 Subject: [dpdk-dev] [PATCH 2/5] bus/dpaa: fix unused function warning with clang 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: Thu, 25 Jan 2018 09:54:52 -0000 fman/netcfg_layer.c:80:1: error: unused function 'get_num_netcfg_interfaces ' [-Werror,-Wunused-function] get_num_netcfg_interfaces(char *str) Fixes: 919eeaccb2ba ("bus/dpaa: introduce NXP DPAA bus driver skeleton") Cc: stable@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/dpaa_bus.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/bus/dpaa/dpaa_bus.c b/drivers/bus/dpaa/dpaa_bus.c index ba33566..1093b4d 100644 --- a/drivers/bus/dpaa/dpaa_bus.c +++ b/drivers/bus/dpaa/dpaa_bus.c @@ -63,12 +63,6 @@ dpaa_add_to_device_list(struct rte_dpaa_device *dev) TAILQ_INSERT_TAIL(&rte_dpaa_bus.device_list, dev, next); } -static inline void -dpaa_remove_from_device_list(struct rte_dpaa_device *dev) -{ - TAILQ_INSERT_TAIL(&rte_dpaa_bus.device_list, dev, next); -} - /* * Reads the SEC device from DTS * Returns -1 if SEC devices not available, 0 otherwise -- 2.7.4