diff options
author | Vinod Koul <vinod.koul@intel.com> | 2016-07-08 05:09:26 (GMT) |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-07-23 10:37:28 (GMT) |
commit | 24a1b5a011b0d223ec0d97f6f69cd4d66101684b (patch) | |
tree | c5b55214a8f22ff77aa7f0d6a91cf5ba5c45b3fb /drivers/dma/imx-sdma.c | |
parent | a03811045ee3c2be1d333fb2136d06f244302d46 (diff) | |
download | linux-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.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index 18bcf55..584cce9 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; |