summaryrefslogtreecommitdiff
path: root/drivers/dma/imx-sdma.c
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2016-07-08 08:09:26 +0300
committerVinod Koul <vinod.koul@intel.com>2016-07-23 13:37:28 +0300
commit24a1b5a011b0d223ec0d97f6f69cd4d66101684b (patch)
treec5b55214a8f22ff77aa7f0d6a91cf5ba5c45b3fb /drivers/dma/imx-sdma.c
parenta03811045ee3c2be1d333fb2136d06f244302d46 (diff)
downloadlinux-24a1b5a011b0d223ec0d97f6f69cd4d66101684b.tar.xz
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 <dcb314@hotmail.com> Cc: Sascha Hauer <s.hauer@pengutronix.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/imx-sdma.c')
-rw-r--r--drivers/dma/imx-sdma.c2
1 files changed, 0 insertions, 2 deletions
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;