mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-04 01:20:01 -04:00
qed: Remove unused qed_ptt_invalidate
qed_ptt_invalidate() was added in 2015 as part of
commit fe56b9e6a8 ("qed: Add module with basic common support")
but has remained unused.
Remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Link: https://patch.msgid.link/20250414005247.341243-4-linux@treblig.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
fa381e21a9
commit
3c18acefaf
@@ -69,17 +69,6 @@ int qed_ptt_pool_alloc(struct qed_hwfn *p_hwfn)
|
||||
return 0;
|
||||
}
|
||||
|
||||
void qed_ptt_invalidate(struct qed_hwfn *p_hwfn)
|
||||
{
|
||||
struct qed_ptt *p_ptt;
|
||||
int i;
|
||||
|
||||
for (i = 0; i < PXP_EXTERNAL_BAR_PF_WINDOW_NUM; i++) {
|
||||
p_ptt = &p_hwfn->p_ptt_pool->ptts[i];
|
||||
p_ptt->pxp.offset = QED_BAR_INVALID_OFFSET;
|
||||
}
|
||||
}
|
||||
|
||||
void qed_ptt_pool_free(struct qed_hwfn *p_hwfn)
|
||||
{
|
||||
kfree(p_hwfn->p_ptt_pool);
|
||||
|
||||
@@ -61,15 +61,6 @@ enum _dmae_cmd_crc_mask {
|
||||
*/
|
||||
void qed_gtt_init(struct qed_hwfn *p_hwfn);
|
||||
|
||||
/**
|
||||
* qed_ptt_invalidate(): Forces all ptt entries to be re-configured
|
||||
*
|
||||
* @p_hwfn: HW device data.
|
||||
*
|
||||
* Return: Void.
|
||||
*/
|
||||
void qed_ptt_invalidate(struct qed_hwfn *p_hwfn);
|
||||
|
||||
/**
|
||||
* qed_ptt_pool_alloc(): Allocate and initialize PTT pool.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user