From: Vinod Koul Date: Fri, 8 Jul 2016 05:09:26 +0000 (+0530) Subject: dmaengine: imx-sdma: remove dummy assignment X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=24a1b5a011b0d223ec0d97f6f69cd4d66101684b;p=linux-beck.git dmaengine: imx-sdma: remove dummy assignment David reported: drivers/dma/imx-sdma.c:1003]: (style) Same expression on both sides of '|=' ORing with itself yields same result, So remove this Reported-by: David Binderman Cc: Sascha Hauer Cc: Fabio Estevam Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index 18bcf556a652..584cce992f0d 100644 --- a/drivers/dma/imx-sdma.c +++ b/drivers/dma/imx-sdma.c @@ -993,8 +993,6 @@ static int sdma_config_channel(struct dma_chan *chan) } else __set_bit(sdmac->event_id0, sdmac->event_mask); - /* Watermark Level */ - sdmac->watermark_level |= sdmac->watermark_level; /* Address */ sdmac->shp_addr = sdmac->per_address; sdmac->per_addr = sdmac->per_address2;