From patchwork Mon Nov 30 07:01:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Mutharaju, Prasanna (P.)" X-Patchwork-Id: 7721691 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 0E258BEEE1 for ; Mon, 30 Nov 2015 07:34:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 40DEE204C9 for ; Mon, 30 Nov 2015 07:34:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 62CCB20660 for ; Mon, 30 Nov 2015 07:34:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753430AbbK3He1 (ORCPT ); Mon, 30 Nov 2015 02:34:27 -0500 Received: from mail-db3on0137.outbound.protection.outlook.com ([157.55.234.137]:51542 "EHLO emea01-db3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753288AbbK3HeY convert rfc822-to-8bit (ORCPT ); Mon, 30 Nov 2015 02:34:24 -0500 Received: from AM3PR06MB0902.eurprd06.prod.outlook.com (10.161.34.19) by AM3PR06MB0902.eurprd06.prod.outlook.com (10.161.34.19) with Microsoft SMTP Server (TLS) id 15.1.331.20; Mon, 30 Nov 2015 07:01:08 +0000 Received: from AM3PR06MB0902.eurprd06.prod.outlook.com ([10.161.34.19]) by AM3PR06MB0902.eurprd06.prod.outlook.com ([10.161.34.19]) with mapi id 15.01.0331.023; Mon, 30 Nov 2015 07:01:08 +0000 From: "Mutharaju, Prasanna (P.)" To: Kukjin Kim , Krzysztof Kozlowski , Sylwester Nawrocki , Tomasz Figa , Michael Turquette , Stephen Boyd CC: "linux-clk@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-samsung-soc@vger.kernel.org" Subject: [PATCH] CLK: s3c2410: removed unneeded code in s3c24xx_clkout_set_parent Thread-Topic: [PATCH] CLK: s3c2410: removed unneeded code in s3c24xx_clkout_set_parent Thread-Index: AQHRKzzjnjPs412Z5EST5FgR1DlquQ== Date: Mon, 30 Nov 2015 07:01:08 +0000 Message-ID: <20151130070044.GA23071@jci-VirtualBox> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=mkarthi3@visteon.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [74.112.164.114] x-microsoft-exchange-diagnostics: 1; AM3PR06MB0902; 5:hXC8gBdADRY2eWCbqkHvy4Ifh/0w87N5w62QqX+uH9tYvxOfAA61IX2DsfcmEfanTmrTmjt1CGfbuqeSi+mT2wkc0VbK8fyhMTxMXYK+lFmA628bnN+KvQSOxoDgVFZ26X1zv1wJ/ciNMXAO7FBKOw==; 24:4IXywqG4ejTrSxlQy3zC94plv0z/Fr4p5N798IWfLfrdHFvV4EsMSlcbvZl/XBBlkngWx7vp+IU8eGNAlzacAwxYRRRKSAkrSkBXnXMTJ6I= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM3PR06MB0902; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(208512329853888); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(520078)(10201501046)(3002001); SRVR:AM3PR06MB0902; BCL:0; PCL:0; RULEID:; SRVR:AM3PR06MB0902; x-forefront-prvs: 0776C39A48 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(199003)(189002)(81156007)(6116002)(2860100001)(92566002)(11100500001)(2900100001)(105586002)(106356001)(106116001)(5002640100001)(3846002)(10400500002)(33716001)(19580395003)(54356999)(19580405001)(33656002)(5008740100001)(586003)(1096002)(5001960100002)(86362001)(77096005)(102836003)(1220700001)(50986999)(122556002)(5001770100001)(66066001)(1076002)(229853001)(40100003)(101416001)(5004730100002)(87936001)(97736004)(189998001); DIR:OUT; SFP:1102; SCL:1; SRVR:AM3PR06MB0902; H:AM3PR06MB0902.eurprd06.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: visteon.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-ID: <068B5DE98F0EF4498ECBDB103FF7C7BF@eurprd06.prod.outlook.com> MIME-Version: 1.0 X-OriginatorOrg: visteon.com X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Nov 2015 07:01:08.2632 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 7a147aaf-01ec-498c-80a1-e34a8c63c548 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR06MB0902 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Prasanna Karthik Remove unneeded variable used to store return value. Signed-off-by: Prasanna Karthik --- drivers/clk/samsung/clk-s3c2410-dclk.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/clk/samsung/clk-s3c2410-dclk.c b/drivers/clk/samsung/clk-s3c2410-dclk.c index e9eb935..ec6fb14 100644 --- a/drivers/clk/samsung/clk-s3c2410-dclk.c +++ b/drivers/clk/samsung/clk-s3c2410-dclk.c @@ -77,12 +77,11 @@ static u8 s3c24xx_clkout_get_parent(struct clk_hw *hw) static int s3c24xx_clkout_set_parent(struct clk_hw *hw, u8 index) { struct s3c24xx_clkout *clkout = to_s3c24xx_clkout(hw); - int ret = 0; s3c2410_modify_misccr((clkout->mask << clkout->shift), (index << clkout->shift)); - return ret; + return 0; } static const struct clk_ops s3c24xx_clkout_ops = {