summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>2022-01-25 02:14:36 +0100
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>2022-01-31 01:58:32 +0100
commit7fdbacfad7c8c3c268bd86be6dee676d4eec8bc0 (patch)
tree62299c1c99c6be78e0e157d46355d655a5e24341
parentata: pata_pdc202xx_old: make static read-only array pio_timing const (diff)
downloadlinux-7fdbacfad7c8c3c268bd86be6dee676d4eec8bc0.tar.xz
linux-7fdbacfad7c8c3c268bd86be6dee676d4eec8bc0.zip
ata: libata-scsi: Cleanup ata_get_xlat_func()
Remove the unnecessary "break" after the return statement in the MODE_SELECT/MODE_SELECT_10 case. Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Reviewed-by: Hannes Reinecke <hare@suse.de>
-rw-r--r--drivers/ata/libata-scsi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c
index ed8be585a98f..c73e94c06147 100644
--- a/drivers/ata/libata-scsi.c
+++ b/drivers/ata/libata-scsi.c
@@ -3933,7 +3933,6 @@ static inline ata_xlat_func_t ata_get_xlat_func(struct ata_device *dev, u8 cmd)
case MODE_SELECT:
case MODE_SELECT_10:
return ata_scsi_mode_select_xlat;
- break;
case ZBC_IN:
return ata_scsi_zbc_in_xlat;