summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_mpc52xx.c
diff options
context:
space:
mode:
authorNikola Pajkovsky <npajkovsky@suse.cz>2017-08-29 13:59:03 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2017-08-31 04:01:29 +0200
commita226032398cb03760c7a36e6be39ded86845a6cd (patch)
tree2e2f885c61db3da0ade16f2d7f83f42fe75ee4fb /drivers/ata/pata_mpc52xx.c
parentscsi: aacraid: fix indentation errors (diff)
downloadlinux-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