Re: [PATCH] scsi: sym53c8xx_2: Delete useless if-else in sym_xerr_cam_status

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2 Sep 2020 14:16:46 +0800, Ye Bin wrote:

> Only (x_status & XE_PARITY_ERR) is true we set cam_status = DID_PARITY,
> other condition we set cam_status = DID_ERROR. So delete useless if-else.

Applied to 5.10/scsi-queue, thanks!

[1/1] scsi: sym53c8xx_2: Delete unnecessary else-if in sym_xerr_cam_status()
      https://git.kernel.org/mkp/scsi/c/bb1932dbb83a

-- 
Martin K. Petersen	Oracle Linux Engineering



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux