From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kalle Valo Subject: Re: [net-next] ath10k: Remove useless test before clk_disable_unprepare Date: Fri, 25 May 2018 10:04:07 +0000 (UTC) Message-ID: <20180525100410.B904160F91@smtp.codeaurora.org> References: <20180516105454.30212-1-yuehaibing@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: , , , , YueHaibing To: YueHaibing Return-path: In-Reply-To: <20180516105454.30212-1-yuehaibing-hv44wF8Li93QT0dZR+AlfA@public.gmane.org> Sender: linux-wireless-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org YueHaibing wrote: > clk_disable_unprepare() already checks that the clock pointer is valid. > No need to test it before calling it. > > Signed-off-by: YueHaibing > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. cf3c0ae6a32b ath10k: remove useless test before clk_disable_unprepare -- https://patchwork.kernel.org/patch/10403597/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches