From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3zwJJG1MpszF1HC for ; Tue, 6 Mar 2018 11:56:46 +1100 (AEDT) Message-ID: <1520297800.2077.6.camel@russell.cc> Subject: Re: [PATCH 4/9] powerpc/eeh: Remove misleading test in eeh_handle_normal_event() From: Russell Currey To: Sam Bobroff , linuxppc-dev@lists.ozlabs.org Date: Tue, 06 Mar 2018 11:56:40 +1100 In-Reply-To: <52c15c0414d248981e251386384ed2a716315003.1520294174.git.sam.bobroff@au1.ibm.com> References: <52c15c0414d248981e251386384ed2a716315003.1520294174.git.sam.bobroff@au1.ibm.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2018-03-06 at 10:59 +1100, Sam Bobroff wrote: > Remove a test that checks if "frozen_bus" is NULL, because it cannot > have changed since it was tested at the start of the function and so > must be true here. It could potentially be modified since it gets passed into eeh_reset_device() but it doesn't look like it does anywhere. > > Signed-off-by: Sam Bobroff Reviewed-by: Russell Currey