From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shawn Guo Subject: Re: [PATCH 2/3] cpufreq: cpu0: Removes unnecessary IS_ERR check on clk Date: Thu, 28 Aug 2014 13:31:03 +0800 Message-ID: <20140828053102.GC23836@dragon> References: <1409209212-18730-1-git-send-email-pramod.gurav@smartplayin.com> <1409209212-18730-2-git-send-email-pramod.gurav@smartplayin.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: Received: from mail-bn1on0099.outbound.protection.outlook.com ([157.56.110.99]:23742 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933771AbaH1GFF (ORCPT ); Thu, 28 Aug 2014 02:05:05 -0400 Content-Disposition: inline In-Reply-To: <1409209212-18730-2-git-send-email-pramod.gurav@smartplayin.com> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Pramod Gurav Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, "Rafael J. Wysocki" , Viresh Kumar On Thu, Aug 28, 2014 at 12:00:11AM -0700, Pramod Gurav wrote: > This removes unnecessary IS_ERR check on clk when in failure path > as execution wont reach till there with clk being a err. > > CC: Shawn Guo > CC: "Rafael J. Wysocki" > CC: Viresh Kumar > Signed-off-by: Pramod Gurav Acked-by: Shawn Guo