From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin K. Petersen" Date: Tue, 09 May 2017 02:18:00 +0000 Subject: Re: [PATCH] scsi: pmcraid: remove redundant check to see if request_size is less than zero Message-Id: List-Id: References: <20170503162901.3623-1-colin.king@canonical.com> In-Reply-To: <20170503162901.3623-1-colin.king@canonical.com> (Colin King's message of "Wed, 3 May 2017 17:29:01 +0100") MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Colin King Cc: "James E . J . Bottomley" , "Martin K . Petersen" , linux-scsi@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Colin, > The 2nd check to see if request_size is less than zero is redundant > because the first check takes error exit path on this condition. So, > since it is redundant, remove it. Applied to 4.12/scsi-fixes. -- Martin K. Petersen Oracle Linux Engineering