gpu: host1x: Remove redundant parentheses
authorThierry Reding <treding@nvidia.com>
Thu, 23 Jun 2016 09:37:31 +0000 (11:37 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 23 Jun 2016 09:59:31 +0000 (11:59 +0200)
There's no need to wrap the BIT() macro into an extra set of parentheses
because it's already implemented to use its own set.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/hw/cdma_hw.c

index 5c39f1b111f7294a3a8d5f847723a252a61e13e8..659c1bbfeeba2316df23976b2ce78217f578ffad 100644 (file)
@@ -220,7 +220,7 @@ static void cdma_resume(struct host1x_cdma *cdma, u32 getptr)
                ch->id, getptr);
 
        cmdproc_stop = host1x_sync_readl(host1x, HOST1X_SYNC_CMDPROC_STOP);
-       cmdproc_stop &= ~(BIT(ch->id));
+       cmdproc_stop &= ~BIT(ch->id);
        host1x_sync_writel(host1x, cmdproc_stop, HOST1X_SYNC_CMDPROC_STOP);
 
        cdma->torndown = false;