Skip to contentSkip to conversation

drivers-dma-remove-unused-support-for-memset-operations-v3-fix.patch removed from -mm tree

folded-merged [email protected] 1 participant 1 message Jul 3, 2013 dmaengine

lore
Share & tools
lore
#0 lore raw

Subject: [folded-merged] drivers-dma-remove-unused-support-for-memset-operations-v3-fix.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 03 Jul 2013 14:38:33 -0700

The patch titled
Subject: drivers-dma-remove-unused-support-for-memset-operations-v3-fix
has been removed from the -mm tree. Its filename was
drivers-dma-remove-unused-support-for-memset-operations-v3-fix.patch

This patch was dropped because it was folded into drivers-dma-remove-unused-support-for-memset-operations.patch

------------------------------------------------------
From: Sebastian Hesselbarth <[email protected]>
Subject: drivers-dma-remove-unused-support-for-memset-operations-v3-fix

Commit 834cbfe ("drivers/dma: remove unused support for MEMSET operations") removes MEMSET from dmaengine but does not completely removes it from drivers/dma/mv_xor.

This also fixes some compiler warnings about now obsolete functions by removing those.

[bzolnier: splitted off changes from bigger patch]
Cc Jason Cooper <[email protected]>
Cc Kyungmin Park <[email protected]>
Cc Kyungmin Park <[email protected]>
Cc Vinod Koul <[email protected]>
Cc Dan Williams <[email protected]>
Cc Tomasz Figa <[email protected]>
Cc Herbert Xu <[email protected]>
Cc Olof Johansson <[email protected]>
Cc Kevin Hilman <[email protected]>

---

 drivers/dma/mv_xor.c |   23 +----------------------
 1 file changed, 1 insertion(+), 22 deletions(-)
drivers/dma/mv_xor.c renamed from drivers/dma/mv_xor.c~drivers-dma-remove-unused-support-for-memset-operations-v3-fix +0 -20
diff -puN drivers/dma/mv_xor.c~drivers-dma-remove-unused-support-for-memset-operations-v3-fix drivers/dma/mv_xor.c
@@ -89,11 +89,6 @@ static void mv_desc_clear_next_desc(stru
 	hw_desc->phy_next_desc = 0;
 }
 
-static void mv_desc_set_block_fill_val(struct mv_xor_desc_slot *desc, u32 val)
-{
-	desc->value = val;
-}
-
 static void mv_desc_set_dest_addr(struct mv_xor_desc_slot *desc,
 				  dma_addr_t addr)
 {
@@ -128,22 +123,6 @@ static void mv_chan_set_next_descriptor(
 	__raw_writel(next_desc_addr, XOR_NEXT_DESC(chan));
 }
 
-static void mv_chan_set_dest_pointer(struct mv_xor_chan *chan, u32 desc_addr)
-{
-	__raw_writel(desc_addr, XOR_DEST_POINTER(chan));
-}
-
-static void mv_chan_set_block_size(struct mv_xor_chan *chan, u32 block_size)
-{
-	__raw_writel(block_size, XOR_BLOCK_SIZE(chan));
-}
-
-static void mv_chan_set_value(struct mv_xor_chan *chan, u32 value)
-{
-	__raw_writel(value, XOR_INIT_VALUE_LOW(chan));
-	__raw_writel(value, XOR_INIT_VALUE_HIGH(chan));
-}