mirror of
https://github.com/torvalds/linux.git
synced 2024-11-12 07:01:57 +00:00
drivers/dma/ioat_dma.c: drop code after return
The break after the return serves no purpose. Signed-off-by: Julia Lawall <julia@diku.dk> Reviewed-by: Richard Genoud <richard.genoud@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
This commit is contained in:
parent
fdb0ac8061
commit
89f72a0633
@ -971,11 +971,9 @@ static struct ioat_desc_sw *ioat_dma_get_next_descriptor(
|
|||||||
switch (ioat_chan->device->version) {
|
switch (ioat_chan->device->version) {
|
||||||
case IOAT_VER_1_2:
|
case IOAT_VER_1_2:
|
||||||
return ioat1_dma_get_next_descriptor(ioat_chan);
|
return ioat1_dma_get_next_descriptor(ioat_chan);
|
||||||
break;
|
|
||||||
case IOAT_VER_2_0:
|
case IOAT_VER_2_0:
|
||||||
case IOAT_VER_3_0:
|
case IOAT_VER_3_0:
|
||||||
return ioat2_dma_get_next_descriptor(ioat_chan);
|
return ioat2_dma_get_next_descriptor(ioat_chan);
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user