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

The break after the return serves no purpose.

Signed-off-by: Julia Lawall <[email protected]>
Reviewed-by: Richard Genoud <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
This commit is contained in:
Julia Lawall 2008-09-13 20:05:34 -07:00 • committed by Dan Williams
commit 89f72a0633

View file

@ -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;
}