From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin K. Petersen" Date: Fri, 28 Sep 2018 06:30:51 +0000 Subject: Re: [PATCH] scsi: qla4xxx: remove redundant check on drvr_wait Message-Id: List-Id: References: <20180926130848.30645-1-colin.king@canonical.com> In-Reply-To: <20180926130848.30645-1-colin.king@canonical.com> (Colin King's message of "Wed, 26 Sep 2018 14:08:48 +0100") MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Colin King Cc: QLogic-Storage-Upstream@qlogic.com, "James E . J . Bottomley" , "Martin K . Petersen" , linux-scsi@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Colin, > The check for a non-zero drvr_wait is redundant as the same check is > performed earlier in the outer while loop, the inner check will always > be true if we reached this point inside the while loop. Remove the > redundant if check. Applied to 4.20/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering