Skip to contentSkip to conversation

staging: mt7621-dma: Delete unused define

PATCH Superseded Bhanusree Pola 2 participants 2 messages Oct 10, 2018

Subsystems (2)

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

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
index 6d9fe175ea52..73dbc7fe38a2 100644
@@ -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
#1 lore raw
Quoted 1 line · Bhanusree Pola

delete unused '#define GDMA_REG_CTRL1_CONTINOUS BIT(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
---
 drivers/staging/mt7621-dma/ralink-gdma.c | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/mt7621-dma/ralink-gdma.c +0 -2
index 6d9fe175ea52..73dbc7fe38a2 100644
@@ -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.