Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1637827

Re: [PATCH] scsi: pmcraid: remove redundant check to see if request_size is less than zero

From "Martin K. Petersen" <martin.petersen@oracle.com>
Newsgroups linux.kernel
Subject Re: [PATCH] scsi: pmcraid: remove redundant check to see if request_size is less than zero
Date 2017-05-09 04:20 +0200
Message-ID <tF2UN-3QW-1@gated-at.bofh.it> (permalink)
References <tD5k6-7NI-21@gated-at.bofh.it>
Organization Oracle Corporation

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] scsi: pmcraid: remove redundant check to see if request_size is less than zero Colin King <colin.king@canonical.com> - 2017-05-03 18:30 +0200
  Re: [PATCH] scsi: pmcraid: remove redundant check to see if  request_size is less than zero Tyrel Datwyler <tyreld@linux.vnet.ibm.com> - 2017-05-04 21:50 +0200
  Re: [PATCH] scsi: pmcraid: remove redundant check to see if request_size is less than zero "Martin K. Petersen" <martin.petersen@oracle.com> - 2017-05-09 04:20 +0200

csiph-web