Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751870AbeAPNTs (ORCPT + 1 other); Tue, 16 Jan 2018 08:19:48 -0500 Received: from mail-by2nam01on0087.outbound.protection.outlook.com ([104.47.34.87]:54436 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751283AbeAPNTn (ORCPT ); Tue, 16 Jan 2018 08:19:43 -0500 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; From: Bogdan Purcareata To: , , CC: , , , , , , , , , , , , , 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 Content-Type: text/plain 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?NrOJaTllutL81h8VC0fr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GYc9J4SaPYlGFHU7cbY1a7Eee5QpylnVU4qAyLBUaMOohsn+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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: 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); - } -} -- 2.7.4