ata: libata-scsi: Cleanup ata_get_xlat_func()
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>
Tue, 25 Jan 2022 01:14:36 +0000 (10:14 +0900)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Mon, 31 Jan 2022 00:58:32 +0000 (09:58 +0900)
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>
drivers/ata/libata-scsi.c

index ed8be58..c73e94c 100644 (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_10:
                return ata_scsi_mode_select_xlat;
-               break;
 
        case ZBC_IN:
                return ata_scsi_zbc_in_xlat;