Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 89f72a06 authored by Julia Lawall's avatar Julia Lawall Committed by Dan Williams
Browse files

drivers/dma/ioat_dma.c: drop code after return



The break after the return serves no purpose.

Signed-off-by: default avatarJulia Lawall <julia@diku.dk>
Reviewed-by: default avatarRichard Genoud <richard.genoud@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent fdb0ac80
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -971,11 +971,9 @@ static struct ioat_desc_sw *ioat_dma_get_next_descriptor(
	switch (ioat_chan->device->version) {
	case IOAT_VER_1_2:
		return ioat1_dma_get_next_descriptor(ioat_chan);
		break;
	case IOAT_VER_2_0:
	case IOAT_VER_3_0:
		return ioat2_dma_get_next_descriptor(ioat_chan);
		break;
	}
	return NULL;
}