mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacmn: Remove unused ce_service_srng functions
The following functions in ce_service_srng.c are unused, so remove them: ce_send_watermarks_set_srng ce_recv_watermarks_set_srng ce_send_entries_avail_srng ce_recv_entries_avail_srng Change-Id: I76562daa1166eacc8fc9355187a77141294ee4c0 CRs-Fixed: 1104060
This commit is contained in:
parent
c256a077df
commit
33a4c8c68f
1 changed files with 0 additions and 40 deletions
|
|
@ -291,46 +291,6 @@ ce_recv_buf_enqueue_srng(struct CE_handle *copyeng,
|
|||
return status;
|
||||
}
|
||||
|
||||
/**
|
||||
* ce_send_watermarks_set_srng
|
||||
*/
|
||||
void
|
||||
ce_send_watermarks_set_srng(struct CE_handle *copyeng,
|
||||
unsigned int low_alert_nentries,
|
||||
unsigned int high_alert_nentries)
|
||||
{
|
||||
/*TODO*/
|
||||
}
|
||||
/*
|
||||
* ce_recv_watermarks_set_srng
|
||||
*/
|
||||
void
|
||||
ce_recv_watermarks_set_srng(struct CE_handle *copyeng,
|
||||
unsigned int low_alert_nentries,
|
||||
unsigned int high_alert_nentries)
|
||||
{
|
||||
/*TODO*/
|
||||
}
|
||||
|
||||
unsigned int ce_send_entries_avail_srng(struct CE_handle *copyeng)
|
||||
{
|
||||
struct CE_state *CE_state = (struct CE_state *)copyeng;
|
||||
struct CE_ring_state *src_ring = CE_state->src_ring;
|
||||
struct hif_softc *scn = CE_state->scn;
|
||||
|
||||
return hal_srng_src_num_avail(scn->hal_soc, src_ring->srng_ctx, false);
|
||||
}
|
||||
|
||||
unsigned int ce_recv_entries_avail_srng(struct CE_handle *copyeng)
|
||||
{
|
||||
struct CE_state *CE_state = (struct CE_state *)copyeng;
|
||||
struct CE_ring_state *dest_ring = CE_state->dest_ring;
|
||||
struct hif_softc *scn = CE_state->scn;
|
||||
|
||||
|
||||
return hal_srng_src_num_avail(scn->hal_soc, dest_ring->srng_ctx, false);
|
||||
}
|
||||
|
||||
/*
|
||||
* Guts of ce_recv_entries_done.
|
||||
* The caller takes responsibility for any necessary locking.
|
||||
|
|
|
|||
Loading…
Reference in a new issue