staging: mt7621-dma: Delete unused define
Subsystems (2)
PATCH v4 1/1 staging: mt7621-dma: Delete unused define
delete unused '#define GDMA_REG_CTRL1_CONTINOUS BIT(14)'
---
Change log:
v4:
-added change log
v3:
-modified subject line
-modified commit message
-delete unused #defne
v2:
-Fixed Comitt message in place
drivers/staging/mt7621-dma/ralink-gdma.c | 1 - 1 file changed, 1 deletion(-)
drivers/staging/mt7621-dma/ralink-gdma.c +0 -1
@@ -47,7 +47,6 @@#define GDMA_REG_CTRL1_REQ_MASK 0x3f#define GDMA_REG_CTRL1_SRC_REQ_SHIFT 16#define GDMA_REG_CTRL1_DST_REQ_SHIFT 8 -#define GDMA_REG_CTRL1_CONTINOUS BIT(14)#define GDMA_REG_CTRL1_NEXT_MASK 0x1f#define GDMA_REG_CTRL1_NEXT_SHIFT 3#define GDMA_REG_CTRL1_COHERENT BIT(2)
Signature · 1 line
2.17.1
Quoted 25 lines · Bhanusree Pola
delete unused '#define
GDMA_REG_CTRL1_CONTINOUSBIT(14)'Signed-off-by Bhanusree Pola <[email protected]>---
Change log:v4:
-added change logv3:
(quoted diff) +0
-3-modified subject line -modified commit message -delete unused #defnev2:
(quoted diff) +0
-1-Fixed Comitt message in place drivers/staging/mt7621-dma/ralink-gdma.c | 1 - 1 file changed, 1 deletion(-)drivers/staging/mt7621-dma/ralink-gdma.c +0
-0
drivers/staging/mt7621-dma/ralink-gdma.c line 52
Quoted 7 lines
drivers/staging/mt7621-dma/ralink-gdma.c +0
-1@@ -47,7 +47,6 @@#define GDMA_REG_CTRL1_REQ_MASK 0x3f#define GDMA_REG_CTRL1_SRC_REQ_SHIFT 16#define GDMA_REG_CTRL1_DST_REQ_SHIFT 8 -#define GDMA_REG_CTRL1_CONTINOUS BIT(14)#define GDMA_REG_CTRL1_NEXT_MASK 0x1f#define GDMA_REG_CTRL1_NEXT_SHIFT 3#define GDMA_REG_CTRL1_COHERENT BIT(2)
There is a small thing that can be cleaned up here, which is that the #define values are not nicely lined up.
julia
Quoted 10 lines
--
2.17.1--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20181010011035.GA13421%40veda-VGN-CS3AGH-R.
For more options, visit https://groups.google.com/d/optout.