summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>2022-01-25 10:14:36 +0900
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>2022-01-31 09:58:32 +0900
commit7fdbacfad7c8c3c268bd86be6dee676d4eec8bc0 (patch)
tree62299c1c99c6be78e0e157d46355d655a5e24341 /drivers
parent217ca30fbf4b5e976d9170b85b5ed06f3511ef98 (diff)
downloadlinux-7fdbacfad7c8c3c268bd86be6dee676d4eec8bc0.tar.bz2
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>
Diffstat (limited to 'drivers')
-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;