diff options
author | Nikola Pajkovsky <npajkovsky@suse.cz> | 2017-08-29 13:59:03 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-08-31 04:01:29 +0200 |
commit | a226032398cb03760c7a36e6be39ded86845a6cd (patch) | |
tree | 2e2f885c61db3da0ade16f2d7f83f42fe75ee4fb /drivers/ata/pata_mpc52xx.c | |
parent | scsi: aacraid: fix indentation errors (diff) | |
download | linux-a226032398cb03760c7a36e6be39ded86845a6cd.tar.xz linux-a226032398cb03760c7a36e6be39ded86845a6cd.zip |
scsi: aacraid: get rid of one level of indentation
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.
[mkp: fix checkpatch complaints]
Signed-off-by: Nikola Pajkovsky <npajkovsky@suse.cz>
Reviewed-by: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/ata/pata_mpc52xx.c')
0 files changed, 0 insertions, 0 deletions