From patchwork Fri Jul 8 05:15:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 9220007 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 48A99607D9 for ; Fri, 8 Jul 2016 05:08:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3002A26E64 for ; Fri, 8 Jul 2016 05:08:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2319727D9B; Fri, 8 Jul 2016 05:08:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4982226E64 for ; Fri, 8 Jul 2016 05:08:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751797AbcGHFIt (ORCPT ); Fri, 8 Jul 2016 01:08:49 -0400 Received: from mga09.intel.com ([134.134.136.24]:45857 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751581AbcGHFIt (ORCPT ); Fri, 8 Jul 2016 01:08:49 -0400 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP; 07 Jul 2016 22:08:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,327,1464678000"; d="scan'208";a="1002976544" Received: from vkoul-udesk7.iind.intel.com ([10.223.84.143]) by fmsmga001.fm.intel.com with ESMTP; 07 Jul 2016 22:08:47 -0700 From: Vinod Koul To: dmaengine@vger.kernel.org Cc: Vinod Koul , Sascha Hauer , Fabio Estevam Subject: [PATCH 1/2] dmaengine: imx-sdma: remove dummy assignment Date: Fri, 8 Jul 2016 10:45:47 +0530 Message-Id: <1467954948-23308-1-git-send-email-vinod.koul@intel.com> X-Mailer: git-send-email 1.9.1 Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- drivers/dma/imx-sdma.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index 6ce82aab04f7..b0a0c0169736 100644 --- a/drivers/dma/imx-sdma.c +++ b/drivers/dma/imx-sdma.c @@ -1000,8 +1000,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;