]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging: ccree: remove unused function
authorGilad Ben-Yossef <gilad@benyossef.com>
Sun, 25 Jun 2017 07:47:21 +0000 (10:47 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Jun 2017 14:29:15 +0000 (16:29 +0200)
The function set_ack_last was not used anywhere. Remove it.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ccree/cc_hw_queue_defs.h

index aaa56c85bda2456b5a2d171ed9bae5631ff2e261..f11487a7c96917f3f1624b31d03c8c4e65494df3 100644 (file)
@@ -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);
 }
 
-/*
- * 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
  *