linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dma: mv_xor: remove mv_desc_get_dest_addr()
@ 2013-11-25 19:39 Jason Cooper
  2013-11-25 19:46 ` Jason Cooper
  2013-11-28  5:57 ` Vinod Koul
  0 siblings, 2 replies; 13+ messages in thread
From: Jason Cooper @ 2013-11-25 19:39 UTC (permalink / raw)
  To: Dan Williams, Vinod Koul
  Cc: Jason Cooper, dmaengine, linux-kernel, linux-arm-kernel

The following commit:

  54f8d501e842 dmaengine: remove DMA unmap from drivers

removed the last caller to mv_desc_get_dest_addr(), creating the
warning:

  drivers/dma/mv_xor.c:57:12: warning: 'mv_desc_get_dest_addr' defined
  but not used [-Wunused-function]

Remove it.

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
---
 drivers/dma/mv_xor.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c
index 7807f0ef4e20..23bcc9158cbc 100644
--- a/drivers/dma/mv_xor.c
+++ b/drivers/dma/mv_xor.c
@@ -54,12 +54,6 @@ static void mv_desc_init(struct mv_xor_desc_slot *desc, unsigned long flags)
 	hw_desc->desc_command = (1 << 31);
 }
 
-static u32 mv_desc_get_dest_addr(struct mv_xor_desc_slot *desc)
-{
-	struct mv_xor_desc *hw_desc = desc->hw_desc;
-	return hw_desc->phy_dest_addr;
-}
-
 static void mv_desc_set_byte_count(struct mv_xor_desc_slot *desc,
 				   u32 byte_count)
 {
-- 
1.8.4.4


^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-12-18 17:32 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-25 19:39 [PATCH] dma: mv_xor: remove mv_desc_get_dest_addr() Jason Cooper
2013-11-25 19:46 ` Jason Cooper
2013-11-27 19:45   ` Olof Johansson
2013-11-27 23:58     ` Jason Cooper
2013-11-28  5:57 ` Vinod Koul
2013-12-09 23:50   ` Russell King - ARM Linux
2013-12-10 10:13     ` Vinod Koul
2013-12-10 11:14       ` Russell King - ARM Linux
2013-12-11  9:10         ` Dan Williams
2013-12-13  7:00           ` Dan Williams
2013-12-18 15:40             ` Vinod Koul
2013-12-18 16:55               ` Dan Williams
2013-12-18 16:33                 ` Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).