From: Julia Lawall Date: Sun, 14 Sep 2008 03:05:34 +0000 (-0700) Subject: drivers/dma/ioat_dma.c: drop code after return X-Git-Tag: v2.6.28-rc1~84^2~4 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=89f72a0633d1d4f28c4c5c8831ec814523d7671a;p=linux-2.6-omap-h63xx.git drivers/dma/ioat_dma.c: drop code after return The break after the return serves no purpose. Signed-off-by: Julia Lawall Reviewed-by: Richard Genoud Signed-off-by: Andrew Morton Signed-off-by: Dan Williams --- diff --git a/drivers/dma/ioat_dma.c b/drivers/dma/ioat_dma.c index bc8c6e3470c..1ef68b31565 100644 --- a/drivers/dma/ioat_dma.c +++ b/drivers/dma/ioat_dma.c @@ -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; }