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>
This commit is contained in:
Damien Le Moal 2022-01-25 10:14:36 +09:00
parent 217ca30fbf
commit 7fdbacfad7

View file

@ -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:
case MODE_SELECT_10: case MODE_SELECT_10:
return ata_scsi_mode_select_xlat; return ata_scsi_mode_select_xlat;
break;
case ZBC_IN: case ZBC_IN:
return ata_scsi_zbc_in_xlat; return ata_scsi_zbc_in_xlat;