Received: by 10.223.164.202 with SMTP id h10csp254155wrb; Mon, 13 Nov 2017 17:58:17 -0800 (PST) X-Google-Smtp-Source: AGs4zMauy/V1XQg49hadK74UMBFK0PN1q+8QQBPXGNgnkVj5JFm3UBCso9HQYj9Ww8INLcKyvP0v X-Received: by 10.99.115.85 with SMTP id d21mr5794194pgn.82.1510624697170; Mon, 13 Nov 2017 17:58:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510624697; cv=none; d=google.com; s=arc-20160816; b=BIKO0IeLZif0mIQnTjfc+wuX7D1YFirUbzCDcat8Qat44mIBhTaZDnbgUyg9mCRajZ FdP3a4zBDASYV3SjixcCmgUDnKl2lUzcNS/ufzMHwMBRWGaWpVk9XSdL/+F/IhkCdWH0 OUnEYCSyELMsM2YtzofFRNWbHBFaCeGG1LZPHahElNyXWidpcupMXca4ExwkOuT23RFT eJHazNwMEjRhUpp0U+CuVx5G8jvrtirAyIaRao42LvDzzmAXrLpKErq+wo8vTW/h/NXy ySuE+3ZKVybm5F6bQ03bCTRzyPqpjUNzhD9YHZPAiV5ENEnmdvTL5/+wtm7ZP8FeHjgt NS1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=ypSA2CxjvRUb5PwkJTLiALeWzsolS7LvhF9YECQWnl0=; b=AQ5w0ktthRgmWJBTTvnJ3XTd1S4XmwTlMHunm1ANQDPwv5dsQEnfwY5UZOi9C25a93 WaUs+Nqf0k4VC9gn+fCZV007xq5fP8bUIC/ky4HDSdIeX5+/P30gBgZKM0wfXfEaD1Di COzOWxqqCLIAZU3ggxJWz1/hR4tCoIu0orUpWLBv3nTYtR2p2x4i/0aTCueiWerG7Jte +qnqLKt2/vNmfAHf+3IEyyhjUCxIfR/kc0aK4in7p4gphS6xIiLYaYPupbTreFXh/EKk tgYiksHCLwXYXFsOtgWMqOkQ+9N7dsHwD7l78jNaE5LFZ/Isagm+7O+LTMIuIAW9Cb5F /cNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=SogiRWdO; dkim=pass header.i=@codeaurora.org header.s=default header.b=SogiRWdO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j124si15209562pgc.216.2017.11.13.17.58.05; Mon, 13 Nov 2017 17:58:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=SogiRWdO; dkim=pass header.i=@codeaurora.org header.s=default header.b=SogiRWdO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752775AbdKNB5S (ORCPT + 89 others); Mon, 13 Nov 2017 20:57:18 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:52582 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751438AbdKNB5B (ORCPT ); Mon, 13 Nov 2017 20:57:01 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 75BCD6081A; Tue, 14 Nov 2017 01:57:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1510624620; bh=yAx4XRsGByiJXr5dVnpNWsZA8iyhVOVO9gdaUSlJ/NQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=SogiRWdOIGtwKKzaR1V8c+VjcCU8/ZFb9PP9PRQep79Yg3+8NKs9doIK79zSxb3YL h8/sWNpvA9zxm+nfWE3RaOx3MI2WbRcIAATyhheRplVezQVymNzOrX/iVs4LQDnyLD M/kKhRJ0m8bIVVnRARJPDV+cKtOkqJjyFFn0xSnI= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from localhost (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: sboyd@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 17FD76081B; Tue, 14 Nov 2017 01:57:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1510624620; bh=yAx4XRsGByiJXr5dVnpNWsZA8iyhVOVO9gdaUSlJ/NQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=SogiRWdOIGtwKKzaR1V8c+VjcCU8/ZFb9PP9PRQep79Yg3+8NKs9doIK79zSxb3YL h8/sWNpvA9zxm+nfWE3RaOx3MI2WbRcIAATyhheRplVezQVymNzOrX/iVs4LQDnyLD M/kKhRJ0m8bIVVnRARJPDV+cKtOkqJjyFFn0xSnI= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 17FD76081B Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sboyd@codeaurora.org Date: Mon, 13 Nov 2017 17:56:59 -0800 From: Stephen Boyd To: Colin King Cc: Michael Turquette , linux-clk@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] clk: cdce925: remove redundant check for non-null parent_name Message-ID: <20171114015659.GB11955@codeaurora.org> References: <20170905150348.20041-1-colin.king@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170905150348.20041-1-colin.king@canonical.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/05, Colin King wrote: > From: Colin Ian King > > The check for a non-null parent_name is always true as there is an > earlier check for a null parent_name that returns -ENODEV. Remove this > redundant check and always set init.num_parents to 1. > > Detected by CoverityScan CID#1309477 ("Logically dead code") > > Signed-off-by: Colin Ian King > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project From 1577712488456579238@xxx Tue Sep 05 15:04:38 +0000 2017 X-GM-THRID: 1577712488456579238 X-Gmail-Labels: Inbox,Category Forums