Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f984841b authored by Jason Cooper's avatar Jason Cooper Committed by Dan Williams
Browse files

dma: mv_xor: remove mv_desc_get_dest_addr()



The following commit:

  54f8d501 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: default avatarJason Cooper <jason@lakedaemon.net>
Acked-by: default avatarVinod Koul <vinod.koul@intel.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 85726def
Loading
Loading
Loading
Loading
+0 −6
Original line number Original line Diff line number Diff line
@@ -54,12 +54,6 @@ static void mv_desc_init(struct mv_xor_desc_slot *desc, unsigned long flags)
	hw_desc->desc_command = (1 << 31);
	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,
static void mv_desc_set_byte_count(struct mv_xor_desc_slot *desc,
				   u32 byte_count)
				   u32 byte_count)
{
{