Commit b091fadb authored by Gilad Ben-Yossef's avatar Gilad Ben-Yossef Committed by Greg Kroah-Hartman

staging: ccree: remove unused function

The function set_ack_last was not used anywhere. Remove it.
Signed-off-by: default avatarGilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c51831be
...@@ -225,18 +225,6 @@ static inline void set_queue_last_ind(struct cc_hw_desc *pdesc) ...@@ -225,18 +225,6 @@ static inline void set_queue_last_ind(struct cc_hw_desc *pdesc)
pdesc->word[3] |= FIELD_PREP(WORD3_QUEUE_LAST_IND, 1); pdesc->word[3] |= FIELD_PREP(WORD3_QUEUE_LAST_IND, 1);
} }
/*
* Signs the end of HW descriptors flow by asking for completion ack,
* and release the HW engines
*
* @pdesc: pointer HW descriptor struct
*/
static inline void set_ack_last(struct cc_hw_desc *pdesc)
{
pdesc->word[3] |= FIELD_PREP(WORD3_QUEUE_LAST_IND, 1);
pdesc->word[4] |= FIELD_PREP(WORD4_ACK_NEEDED, 1);
}
/* /*
* Set the DIN field of a HW descriptors * Set the DIN field of a HW descriptors
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment