diff options
author | Gilad Ben-Yossef <gilad@benyossef.com> | 2017-06-25 10:47:21 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-25 16:29:15 +0200 |
commit | b091fadb12b5544e632a5361302b5580b82bfa5b (patch) | |
tree | 2633d9bf8e6717cf15f71228c3fef427131c1936 /drivers/staging | |
parent | c51831be99e13f117721d6e1908d12849e31cab9 (diff) | |
download | linux-b091fadb12b5544e632a5361302b5580b82bfa5b.tar.gz linux-b091fadb12b5544e632a5361302b5580b82bfa5b.tar.bz2 linux-b091fadb12b5544e632a5361302b5580b82bfa5b.zip |
staging: ccree: remove unused function
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/ccree/cc_hw_queue_defs.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/staging/ccree/cc_hw_queue_defs.h b/drivers/staging/ccree/cc_hw_queue_defs.h index aaa56c85bda2..f11487a7c969 100644 --- a/drivers/staging/ccree/cc_hw_queue_defs.h +++ b/drivers/staging/ccree/cc_hw_queue_defs.h @@ -226,18 +226,6 @@ static inline void set_queue_last_ind(struct cc_hw_desc *pdesc) } /* - * 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 * * @pdesc: pointer HW descriptor struct |