[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <80b317760809110647wf1b81e3u799c63e0aa83a04@mail.gmail.com>
Date: Thu, 11 Sep 2008 15:47:31 +0200
From: "Richard Genoud" <richard.genoud@...il.com>
To: "Julia Lawall" <julia@...u.dk>
Cc: maciej.sosnowski@...el.com, linux-kernel@...r.kernel.org,
vigneshbabu@...il.com, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH 5/5] drivers/dma/ioat_dma.c: Drop code after return
2008/9/11 Julia Lawall <julia@...u.dk>:
> From: Julia Lawall <julia@...u.dk>
>
> The break after the return serves no purpose.
>
> Signed-off-by: Julia Lawall <julia@...u.dk>
Reviewed-by: Richard Genoud <richard.genoud@...il.com>
> ---
>
> drivers/dma/ioat_dma.c | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/dma/ioat_dma.c b/drivers/dma/ioat_dma.c
> index bc8c6e3..1ef68b3 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;
> }
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists