qcacmn: Make dp_tx_desc_clean_up() static

The function dp_tx_desc_clean_up() is currently a public function.
However this function is only called from within the file where it is
defined, so make it static.

Change-Id: I23d55584453218776703101e9a5abaf9805efb03
CRs-Fixed: 3371794
This commit is contained in:
Jeff Johnson
2023-01-03 08:49:14 -08:00
committed by Madan Koyyalamudi
parent 8e622cfba5
commit 357a7f62b7

View File

@@ -66,13 +66,13 @@ dp_tx_desc_pool_counter_initialize(struct dp_tx_desc_pool_s *tx_desc_pool,
#ifdef DP_UMAC_HW_RESET_SUPPORT
/**
* dp_tx_desc_clean_up() - Clean up the tx dexcriptors
* dp_tx_desc_clean_up() - Clean up the tx descriptors
* @ctxt: context passed
* @elem: element to be cleaned up
* @elem_list: element list
*
*/
void dp_tx_desc_clean_up(void *ctxt, void *elem, void *elem_list)
static void dp_tx_desc_clean_up(void *ctxt, void *elem, void *elem_list)
{
struct dp_soc *soc = (struct dp_soc *)ctxt;
struct dp_tx_desc_s *tx_desc = (struct dp_tx_desc_s *)elem;