staging: mt7621-dma: Delete unused define
Subsystems (2)
PATCH v3 1/1 staging: mt7621-dma: Delete unused define
delete unused '#define GDMA_REG_CTRL1_CONTINOUS BIT(14)'
--- 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 1 line · Bhanusree Pola
delete unused '#define
GDMA_REG_CTRL1_CONTINOUSBIT(14)'
Did someone ask for this? Often it is useful to keep such #defines, because they record some information about the hardware.
julia
Quoted 28 lines
Signed-off-by Bhanusree Pola <[email protected]>--- drivers/staging/mt7621-dma/ralink-gdma.c | 1 - 1 file changed, 1 deletion(-)drivers/staging/mt7621-dma/ralink-gdma.c +0
-2@@ -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) --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/20181010010416.GA13096%40veda-VGN-CS3AGH-R.
For more options, visit https://groups.google.com/d/optout.