From patchwork Tue Feb 21 06:51:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tang yuantian X-Patchwork-Id: 9583941 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 070E0600CA for ; Tue, 21 Feb 2017 07:06:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D5142288DD for ; Tue, 21 Feb 2017 07:06:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C9841288E5; Tue, 21 Feb 2017 07:06:14 +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=-1.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID 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 EDD89288DD for ; Tue, 21 Feb 2017 07:06:13 +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: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:In-Reply-To:References: List-Owner; bh=/pxvvFRzXfN5l4IXPvBOtNZhV/vY/tb1Z/7PNwJnauY=; b=nApclVN7n6XeUm GCXzDavHB+8rger+le3pkNqU6hN4FZCq809ZHEd42CnbtKEX0k4RFXva6gDd010YvYgebimedkk4K gPa1i6Qip3JAfwb1IQqBwAT9H6Xzla5AgSfbrpyGg97fgD8PkLNTfUJK4zQ5/Myj5EwnRds3r8FAr sP6b0Bj1bHAmNbFSW55TPoUhR/HxtMbn8VUYTgY2K5LzbHR9NTw+lTo57WwqmwZj6HgMzSVUANYjh g46q2IEMj7Juu0aG7oGwx3VEDBVLSDf+Sk5DyjInwRZf1RKJui9KiziMqMHoFX+gn08WLcFhwwrXf vC9eIDWpW9z9HKcsknPw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cg4WU-0007I0-7g; Tue, 21 Feb 2017 07:06:06 +0000 Received: from mail-bl2nam02on0080.outbound.protection.outlook.com ([104.47.38.80] helo=NAM02-BL2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cg4W4-0007G3-Ua for linux-arm-kernel@lists.infradead.org; Tue, 21 Feb 2017 07:05:42 +0000 Received: from BN6PR03CA0033.namprd03.prod.outlook.com (10.175.124.19) by BY2PR0301MB0728.namprd03.prod.outlook.com (10.160.63.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.919.13; Tue, 21 Feb 2017 07:05:17 +0000 Received: from BL2FFO11FD032.protection.gbl (2a01:111:f400:7c09::183) by BN6PR03CA0033.outlook.office365.com (2603:10b6:404:10c::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.919.13 via Frontend Transport; Tue, 21 Feb 2017 07:05:17 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; nxp.com; dmarc=fail action=none header.from=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; 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 BL2FFO11FD032.mail.protection.outlook.com (10.173.160.73) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.919.10 via Frontend Transport; Tue, 21 Feb 2017 07:05:11 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v1L757fo018167; Tue, 21 Feb 2017 00:05:08 -0700 From: To: Subject: [PATCH] cpufreq: qoriq: clean up unused code Date: Tue, 21 Feb 2017 14:51:24 +0800 Message-ID: <1487659884-29040-1-git-send-email-yuantian.tang@nxp.com> X-Mailer: git-send-email 2.1.0.27.g96db324 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131321343168899067; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(336005)(39450400003)(39840400002)(39860400002)(39380400002)(39410400002)(39850400002)(39400400002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(106466001)(50986999)(2351001)(8676002)(81156014)(77096006)(8936002)(86152003)(47776003)(81166006)(8656002)(54906002)(53936002)(5660300001)(50226002)(105606002)(6916009)(50466002)(5003940100001)(92566002)(356003)(33646002)(6666003)(104016004)(2876002)(48376002)(97736004)(85426001)(626004)(86362001)(2906002)(305945005)(36756003)(68736007)(4326007)(110136004)(38730400002)(189998001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR0301MB0728; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD032; 1:eHHbQfw5RY53t9UrCsLeS92eSb1Aq9snVrizjz/LBgIINRBy83Ki3LKECIrvITbM+wNx1Rs/GyWkFBeL1P0Lr1wlgCzfBiunbBNuHXP4bg+wTYzYlYgS+1+xR36AFYiZHF1anOGurJNe+HiLGPECRxgYm25XlSNRuEaSZEchM3PuCGhC8ohvS0wJeNgeYTdDve94yElflhswlJbukU6POXenTCywTkY8nr/Iu6OBsTn4i2X3ceaoNzQxY8v5sS3AdyTRsAYS/PD/uWMzRdVQ5uduh6FEgWOrNsL4xiQdkBv6Nm2L6XJArr+g/T18pR/490kE2NFX+OL39IeC+ntxGTVec9PdUYHnXguYQIIK8YT4+pD9N7smUZMVwmey31asOuybxCoMyWsD5aykHpzCNdLyM6H+hZmOZPM9upHxFrhJL1e0opE8ENjhYzskXqa6R25EPhmLOaf/wu9dNutzJaT7U206cV9FbyJ/gRPzuPa0+BwKEwOE+2FLCH1c1axMgu0JIAgNPchANWSakgTwEUgXMbAU8A39/wRQIyNKa6ATILz5zA1v/kYBNxLmv+CUKZ2wAR/pCnhHBRCrF5BSDqa7fTfKb32/4p2e1aiUf2XFa1qoBy8GaVvhsvLu6dQzvBVT2lAwgKMfM/N+3WAKauIbwgQ2O9mRWj+UtU+S+5k8QTucxLJ7qdzKvG5ZVwK0TmkVNDRorHNI5XKdyJrTyA== MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 2e0e94a2-0f7f-484a-67fb-08d45a27fd79 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BY2PR0301MB0728; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0728; 3:4K6yBSCtiHvwfNgMOPzDe4uh90nJFAjX48iQmuiovODmRxcTr0uHqzXbwEiWNkQty9xbhi9G4ovEtInC0vmCs5do36yFwTEzXQRgMbuKUZm3BVGlac2Ms+kqdJRq5ZA/KlsE3FTNITmleSh5u340r7/fvuSaW5SrcvrnT9Nt0bAR7w6YRQP2EVq82X3ZD1T6rLrimOz2HHQ1ngXU5xebkpM9pJBsXpCQrcvlu7sfEN9VELTaVLAieD7GpCWPrOmSD4dwvQNmuYZMLVlvltLq9cmwVDJbx3/6oEu7AYJcl6xF0W+WOV8eDMLbFizoFntbroX3JGwq2ELAY7yuN3vBiTljVJElIbSDCKIuzi7MNHXTa70ZFVdPeDjpEfVf/QZB; 25:2BUgdYWYRGG2KU5on5v5DShjeRTHQMEpeuECO+5qzxm5QyEmRL4GabWjwUQk3+l4vtA6ypb+OtNkNJjc6zq51OuN3PZ6JzfeOxAAmeM/vDD1Bu2bTecoVwm6JXJT2QOOnILI+biOHcvLZ3nDxO5Olc2Dq+BjXxMr/cyVzRsgpPqf9oAei/6XPKBHxKlsCzO5+qa74ZVBFdf+nRumspwRipGCKQLIDWRF0ao+L0TzTbT52WNMe+Wm8x24xIeTQaQkmJMLd2GBEA+lWwoTR0QaqKqfFPuIbp53xDcIFf9eih90r9k1/V5vQq52T+meY7hCHcNiaNisW1D/q1GVzrgO2Z/sUZfFuB7tOiELmJptkLN8/lqDF/it3rUxfkvipihNSHktHdoB8noD4wEubW5i0cb/kPSGo0Ej2F3M7M4DGZPMLgNJ5x5DtjiIIzflXL/YZ/eONfU18fMDD0r3Q8opOA== X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0728; 31:3H/wF7sH/AflmXvzwu78PHVzfX87V5bXlLrW0zUg+kAa0YrJ3SvECwkt1eblZMxr3ekqQZD0ZD9RNWEHdAnoWGsdFLpnbKAl3ME/vLPiR3WruRUwwhRloeyfjNoXpjttvewsFV+fwg1eNAIwk9+YxTLsZrwYeCDFLrXvW7sIjLNJL60bUntsVji71hHeFQEZ7z3TLDKO56k2eL+GYFBYCHI9Y3cb+80xwk7YOwiZcYRvjoTfPxnojEMQ+29/uRbOMjXD2ELg6FRLtnO4lZbzRQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(8121501046)(5005006)(13015025)(13017025)(13023025)(13024025)(13018025)(3002001)(10201501046)(6055026)(6096035)(20161123559025)(20161123565025)(20161123556025)(20161123561025)(20161123563025); SRVR:BY2PR0301MB0728; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR0301MB0728; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0728; 4:h6fh2/h+10fh5si0khQSFPur6UUlfP7Gl6gBL/w91h4Oy5JtSnomZrmRKxdsL4Ae1xGdzk3V8m+UHbHFhJ85xN0NkfzU7yj7KhxdXR4vTU0Jtv/EG0J+QVhARJ8eulrAPUjuvMUhiAC28EdsGbQKfPuNdMR92ij+kHBkyEUNHBvU5x3sMAIbZ5Wx/TEqn1Tc60eYgQHQPRltalGIyfTnnoR53YBdxYHDlaSDMXoHthm1yYodho164lwL7Jd02dTfRzUgHWKAk1v0ykm7bcAtBd7fNWm5AFJiZbmx8FhVTUaZyYVrHqICBQEOKWemB5u0uqxAVIDTJdqf8j2tH0R7xJ3TY44YxtAU3BV2sqNYMr43+lL9ZFLy1ObEzI6dF2zPv6uCxlehZSIz1rCOQ2ICIgnpx+VkvbK6NJhVkjNd3U+2ySOpwb5Ux/dGn4qZQDyR1KSvTiki2kQJBxDkvnS/+vZN6hMe+c6A5TpwAx4R3CcPaNrvUb85aHAlKAp2lVEkiX2fYrW3pppwUw1FDvJelm8DuISTkAetfc5213UZ4bdh89gbgN4oXj/j0NdQ52xi5/tIb7UONfO1H3u70WDazhz60t1ZZnGWaBJM3oUqeWSaX8mLsMnZh3fqpJLroVag/oZlVwyY8CW8CLhiaclhQGpEXA1d9jJDZr7VdAWXkl5mmLIXHECo4NvGgRBeWKAGJ+XhkbMA69JF07B4ZdNWloUcYaCxstJ8//sHYkekpCJAsDi/u1Xbm14zdknehG/p X-Forefront-PRVS: 0225B0D5BC X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR0301MB0728; 23:IO/iDzOlVMwuF09XcNWFWhXhraZPhdiXYOw83sk?= =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aOqr6tkyIrXS7TtAuPRufEAJ0bgLQoqiAnggHIauGW1Qq8I6A4nz/Ffzl4oyaQCaVZc/41SJJOvBJtM+FEF0; 24:QdRRfLeq8aA6F+CQyMV+DxpPYnugJPOtybGnJG0eASn1BzY0ExOxFrdYP3FvZ+g0PsAttp8S305eS4lkWcfscYMWydKkTZhBoGQWJrU70Hk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0728; 7:TvFBnaXat+tahtT37rG+DEEFDOMcJSLbYgLvPRNX5Ro6JI8xYDe3LMsFk2N4J2deni1Ch4j2YXervwemFIcWJNa2S4D7iZQAqiVz5njW3ypZ5ZeU7XRFeOxdTbmnb9ilLmtbK59ZPQ1aGB8OIZrWRaCf+xB9PSXbHq71r39tdCKFY6YgzTbTLAQe/wcriqH+lH+88UhaCqBTCcLNfbDQnPzd17DkLbS/WObhrkO0/BvQVacRu6S+mz7gvpUT8YPvAWT9S2G6ZB0qqMXl58/PzXI3iixkZwjMC9IqOr0aqIk/FB/HgRgcXyzNX1jRB6r0Xt13hZJ7bjO/ps2l4FTvKQ== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2017 07:05:11.7574 (UTC) 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: BY2PR0301MB0728 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170220_230541_195573_5AD631D9 X-CRM114-Status: GOOD ( 11.49 ) 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: Tang Yuantian , viresh.kumar@linaro.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org 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: Tang Yuantian This snip code is not needed anymore since its user get_hard_smp_processor_id() has been removed. Signed-off-by: Tang Yuantian Acked-by: Viresh Kumar --- drivers/cpufreq/qoriq-cpufreq.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/cpufreq/qoriq-cpufreq.c b/drivers/cpufreq/qoriq-cpufreq.c index 53d8c3f..02031a3 100644 --- a/drivers/cpufreq/qoriq-cpufreq.c +++ b/drivers/cpufreq/qoriq-cpufreq.c @@ -22,10 +22,6 @@ #include #include -#if !defined(CONFIG_ARM) -#include /* for get_hard_smp_processor_id() in UP configs */ -#endif - /** * struct cpu_data * @pclk: the parent clock of cpu