Merge branch 'i7300_idle' into release
[sfrench/cifs-2.6.git] / drivers / dma / ioat_dma.c
index c6d0ca24eedc9411f708ee9930444628f36958bb..b0438c4f0c305128b9ab5111de2311d193c259b5 100644 (file)
@@ -977,11 +977,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;
 }