diff options
author | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-01-25 02:14:36 +0100 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-01-31 01:58:32 +0100 |
commit | 7fdbacfad7c8c3c268bd86be6dee676d4eec8bc0 (patch) | |
tree | 62299c1c99c6be78e0e157d46355d655a5e24341 | |
parent | ata: pata_pdc202xx_old: make static read-only array pio_timing const (diff) | |
download | linux-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.c | 1 |
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; |