From patchwork Tue Jan 16 13:19:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bogdan Purcareata X-Patchwork-Id: 10166863 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 614CD600CA for ; Tue, 16 Jan 2018 13:20:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 53DDF28488 for ; Tue, 16 Jan 2018 13:20:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 486E02852A; Tue, 16 Jan 2018 13:20:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B514F28488 for ; Tue, 16 Jan 2018 13:20:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=d91FbO7Bqvw7bDLL60dXfgZ8HZwhwl6soyKx8K9QDwk=; b=jqUpQoaUCy2X+Q jzvXSZF8Mhb6fCuYgDbX78SgOCdh/aL3qnAImAoKeHBSMIerIudm2C/B2SXt6yqdgoxp2z0qOxIdH PD+a9xchQvU5mX1Sxr+8SmlE2mTJoI0v3Td7uK/mq3xYls7GIctbImIBYmmTtd+u8LBW006Bxf4Mb yXeuwFkfflf4nLynwSx9f1zFGVLxB1lzibOV+g+24731N03DNj4h0C2QrSbZIrFfi7JzYbCV9XGAf 6GO3eSIr9yB2D3pb9P3KRg4kld/gPc+Gr8iNXlybJgKt2gdwxMA5ZxYLGpIX3NElQbOkPli1pHCAa Qaap/PsrQPL4ymY820Fg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ebRAQ-0005GF-FX; Tue, 16 Jan 2018 13:20:42 +0000 Received: from mail-sn1nam01on0064.outbound.protection.outlook.com ([104.47.32.64] helo=NAM01-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ebR9f-0003Kw-3O for linux-arm-kernel@lists.infradead.org; Tue, 16 Jan 2018 13:19:57 +0000 Received: from BN3PR03CA0096.namprd03.prod.outlook.com (10.174.66.14) by MWHPR03MB2702.namprd03.prod.outlook.com (10.168.207.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.407.7; Tue, 16 Jan 2018 13:19:40 +0000 Received: from BL2FFO11FD056.protection.gbl (2a01:111:f400:7c09::123) by BN3PR03CA0096.outlook.office365.com (2603:10b6:400:4::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.407.7 via Frontend Transport; Tue, 16 Jan 2018 13:19:40 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; lists.infradead.org; dkim=none (message not signed) header.d=none;lists.infradead.org; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11FD056.mail.protection.outlook.com (10.173.161.184) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.345.12 via Frontend Transport; Tue, 16 Jan 2018 13:19:39 +0000 Received: from localhost.localdomain (fsr-ub1464-106.ea.freescale.net [10.171.82.96]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id w0GDJA10012166; Tue, 16 Jan 2018 06:19:35 -0700 From: Bogdan Purcareata To: , , Subject: [PATCH 4/8] staging: fsl-mc: Remove dead code Date: Tue, 16 Jan 2018 15:19:06 +0200 Message-ID: <1516108750-24938-5-git-send-email-bogdan.purcareata@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516108750-24938-1-git-send-email-bogdan.purcareata@nxp.com> References: <1516108750-24938-1-git-send-email-bogdan.purcareata@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131605823801369062; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(346002)(376002)(396003)(39380400002)(39860400002)(2980300002)(1110001)(1109001)(339900001)(199004)(189003)(81166006)(50226002)(8676002)(36756003)(48376002)(50466002)(8656006)(8936002)(53936002)(6636002)(2950100002)(2201001)(86362001)(5660300001)(6666003)(104016004)(81156014)(39060400002)(77096006)(49486002)(498600001)(4326008)(85426001)(2906002)(47776003)(316002)(26005)(97736004)(7416002)(356003)(305945005)(105606002)(106466001)(54906003)(16586007)(110136005)(76176011)(68736007)(51416003); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR03MB2702; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD056; 1:13O5qyH0GPBfhSaeKmtDv5l7mjdCwQvOpRILsO32BjnovZXdAjNIe8tLVeXBYnapcAb5UxihWCP2KGn12qmVij+X2jY1DRw5WtbzjKrC0emQ9NlEdacqPm3k4RJFw4cw MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 40cf6867-1895-4f55-a1e6-08d55ce3cc84 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(5600026)(4604075)(2017052603307); SRVR:MWHPR03MB2702; X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2702; 3:OnjB3JYiCin67NQMXF1o1EIjKk6Q5QwZ0bm1e2TYudm71HQZjO3c1HeV8vnpJ83sEg1s6yDXdJmnyi/ved7emE5xgapXbhiIWbtbajaAs9X55KCRKcedAohMIn75ntbbEWkAuAuuvI7/CuRHOPZud6F322wHP63d+keqXdc8C9xyLkc3152AtfXN9LrNVL6vyTk81QyBuok3FWXweT9AnMK3U4XHtzjUynLU87xfVdz7lFdP2rv2T8bEA0Bt7yp/dMIDK1w+diy0t/TweE4UsnDSUdCnzpQzFYbLl7Etj3b+d0zxvKAlM7CnZ8eTX9r11kZZ/2nLgiwy8llrrJvslW6MweAPBHaUjQtbT9syGD8=; 25:Q4KC8Af/8WWtcjwKk62G6cTsGmZg7MFDneTEwRefYRQFDQv03EU+nTGiAtZlSXohFZZgj1a3zqHQmOWiwHsvSSIJa6rIqdhNbwPGn4BCv0VwPs4HiVy/M/l9SAUrt7t7/BGqFP1zWr6Nabt9TFFu7Qsy79q9i2ayblYYnU5nBg8Kq9VniDxn7jvDmWq+fB5btiJVL8ehaHEpfEAsJJFb5Hiw+Y/n72U/A0xGZMHjmyEnTXd1jLD6y26bGw0ZwERHbWwptl0ggBqP/VlQnGwfrO0cq0PwAqcAl52NvD69HgreO1xcelOj+Zavt7oxSyWclJSDZi3uQwNnAOMYgHM76Q== X-MS-TrafficTypeDiagnostic: MWHPR03MB2702: X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2702; 31:HeITRTgWRO7RhI4Ol/yEXo4Pd0VsTbtWSJHIB3gDJUGUBcTFDw3N+lD5EKZpTSUjQUIEOqsRT7q4EK0AxecPrfk1wdybPe018YcHdyvSXhbCe+yiJs/55IHxjisPP5VIFPpYMvk/5RDoFbuQ4e2ubpcJK0e26zLrj/a2WS6rIHJ7ij+z2mqDtDVC8A6YrgVm6smBxNPwm3+CnToKtwrSw4Ml4cHynNXVNRM5cdBINTo=; 4:YNZDSEDvxQ884+yCQJxoa132sEATfSWHvOCJlp5r5uL4awyQIUB28ty7fxC3xra9dn7qMfpCqh3XO5iySrKuScM/TmIfkAxQEXoBES97LGhoh4uSJHduOtLpcwC6DKI/2niubwK8a7Qr36loce1oUN/ic9JeEFSUBDsu99i1pA6ZFIcWaaRUDwGF+6y+ngRdaQ7ahjGCevbkwPK5GuFQUQzvrdg6y9bY6+KQ8qkD1TP4i2I2BUlYRtzPtS65+d65wt/9EuhwBYLv3MUf7fygjMfon3qUmcodgAFMauuZ/46DlyVF/ImcW5byDIDw3oKU X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(8121501046)(5005006)(3002001)(10201501046)(3231023)(944501161)(93006095)(93001095)(6055026)(6096035)(20161123559100)(201703131430075)(201703131448075)(201703131433075)(201703151042153)(20161123563025)(20161123561025)(20161123565025)(20161123556025)(201708071742011); SRVR:MWHPR03MB2702; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:MWHPR03MB2702; X-Forefront-PRVS: 0554B1F54F X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR03MB2702; 23:EV0vncArsFUYs6O+Xkign5LW0VjcunHeL7jQwCE+a?= =?us-ascii?Q?NrOJaTllutL81h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TDjIeo1PKGYc9J4SaPYlGFHU7cbY1a7Eee5QpylnVU4qAyLBUaMOohsn+rOasC33huapSNgowDi4oNHXiePTzdt6D3lF/1Xth+ilUfMdvB4e/iec9TTu2g/G3HpGcphSafIjtODyU5jyrqbnR/5awIMsqmw191nzyUHX2Y122F6wIyNClMvyRFQ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jan 2018 13:19:39.8873 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 40cf6867-1895-4f55-a1e6-08d55ce3cc84 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR03MB2702 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180116_051955_327051_82396834 X-CRM114-Status: GOOD ( 11.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, robh@kernel.org, stuyoder@gmail.com, arnd@arndb.de, marc.zyngier@arm.com, roy.pledge@nxp.com, ioana.ciornei@nxp.com, linux-kernel@vger.kernel.org, horia.geanta@nxp.com, nipun.gupta@nxp.com, tglx@linutronix.de, bogdan.purcareata@nxp.com, linux-arm-kernel@lists.infradead.org, jason@lakedaemon.net Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Ioana Radulescu Remove one unused function from irq-gic-v3-its-fsl-mc-msi.c Signed-off-by: Ioana Radulescu Reviewed-by: Laurentiu Tudor --- drivers/staging/fsl-mc/bus/fsl-mc-private.h | 2 -- .../staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c | 19 ------------------- 2 files changed, 21 deletions(-) diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-private.h b/drivers/staging/fsl-mc/bus/fsl-mc-private.h index 4023c4f..a74186e 100644 --- a/drivers/staging/fsl-mc/bus/fsl-mc-private.h +++ b/drivers/staging/fsl-mc/bus/fsl-mc-private.h @@ -459,8 +459,6 @@ void fsl_mc_msi_domain_free_irqs(struct device *dev); int __init its_fsl_mc_msi_init(void); -void its_fsl_mc_msi_cleanup(void); - int fsl_mc_find_msi_domain(struct device *mc_platform_dev, struct irq_domain **mc_msi_domain); diff --git a/drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c b/drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c index bbef06f..097c401f 100644 --- a/drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c +++ b/drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c @@ -97,22 +97,3 @@ int __init its_fsl_mc_msi_init(void) return 0; } - -void its_fsl_mc_msi_cleanup(void) -{ - struct device_node *np; - - for (np = of_find_matching_node(NULL, its_device_id); np; - np = of_find_matching_node(np, its_device_id)) { - struct irq_domain *mc_msi_domain = irq_find_matching_host( - np, - DOMAIN_BUS_FSL_MC_MSI); - - if (!of_property_read_bool(np, "msi-controller")) - continue; - - if (mc_msi_domain && - mc_msi_domain->host_data == &its_fsl_mc_msi_domain_info) - irq_domain_remove(mc_msi_domain); - } -}