RE: [PATCH 2/3] scsi: aacraid: get rid of one level of indentation

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

 




> -----Original Message-----
> From: Nikola Pajkovsky [mailto:npajkovsky@xxxxxxx]
> Sent: Tuesday, August 29, 2017 4:59 AM
> To: dl-esc-Aacraid Linux Driver <aacraid@xxxxxxxxxxxxx>
> Cc: Nikola Pajkovsky <npajkovsky@xxxxxxx>; James E.J. Bottomley
> <jejb@xxxxxxxxxxxxxxxxxx>; Martin K. Petersen
> <martin.petersen@xxxxxxxxxx>; linux-scsi@xxxxxxxxxxxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx
> Subject: [PATCH 2/3] scsi: aacraid: get rid of one level of indentation
> 
> EXTERNAL EMAIL
> 
> 
>   unsigned long byte_count = 0;
>   nseg = scsi_dma_map(scsicmd);
>   if (nseg < 0)
>      return nseg;
>   if (nseg) {
>      ...
>   }
>   return byte_count;
> 
> is equal to
> 
>   unsigned long byte_count = 0;
>   nseg = scsi_dma_map(scsicmd);
>   if (nseg <= 0)
>      return nseg;
>   ...
>   return byte_count;
> 
> No other code has changed.
> 
> Signed-off-by: Nikola Pajkovsky <npajkovsky@xxxxxxx>
> ---
[.....]
Reviewed-by: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@xxxxxxxxxxxxx>




[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