Commit 7fdbacfa authored by Damien Le Moal's avatar Damien Le Moal
Browse files

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: default avatarDamien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: default avatarHannes Reinecke <hare@suse.de>
parent 217ca30f
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;