mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-11 02:29:47 -04:00
qed: Remove unused qed_db_recovery_dp
qed_db_recovery_dp() was added in 2018 as part of
commit 36907cd5cd ("qed: Add doorbell overflow recovery mechanism")
but has remained unused.
Remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Link: https://patch.msgid.link/20250414005247.341243-6-linux@treblig.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
058fa87365
commit
915359abc6
@@ -939,7 +939,6 @@ u16 qed_get_cm_pq_idx_ofld_mtc(struct qed_hwfn *p_hwfn, u8 tc);
|
||||
u16 qed_get_cm_pq_idx_llt_mtc(struct qed_hwfn *p_hwfn, u8 tc);
|
||||
|
||||
/* doorbell recovery mechanism */
|
||||
void qed_db_recovery_dp(struct qed_hwfn *p_hwfn);
|
||||
void qed_db_recovery_execute(struct qed_hwfn *p_hwfn);
|
||||
bool qed_edpm_enabled(struct qed_hwfn *p_hwfn);
|
||||
|
||||
|
||||
@@ -255,25 +255,6 @@ static void qed_db_recovery_teardown(struct qed_hwfn *p_hwfn)
|
||||
p_hwfn->db_recovery_info.db_recovery_counter = 0;
|
||||
}
|
||||
|
||||
/* Print the content of the doorbell recovery mechanism */
|
||||
void qed_db_recovery_dp(struct qed_hwfn *p_hwfn)
|
||||
{
|
||||
struct qed_db_recovery_entry *db_entry = NULL;
|
||||
|
||||
DP_NOTICE(p_hwfn,
|
||||
"Displaying doorbell recovery database. Counter was %d\n",
|
||||
p_hwfn->db_recovery_info.db_recovery_counter);
|
||||
|
||||
/* Protect the list */
|
||||
spin_lock_bh(&p_hwfn->db_recovery_info.lock);
|
||||
list_for_each_entry(db_entry,
|
||||
&p_hwfn->db_recovery_info.list, list_entry) {
|
||||
qed_db_recovery_dp_entry(p_hwfn, db_entry, "Printing");
|
||||
}
|
||||
|
||||
spin_unlock_bh(&p_hwfn->db_recovery_info.lock);
|
||||
}
|
||||
|
||||
/* Ring the doorbell of a single doorbell recovery entry */
|
||||
static void qed_db_recovery_ring(struct qed_hwfn *p_hwfn,
|
||||
struct qed_db_recovery_entry *db_entry)
|
||||
|
||||
Reference in New Issue
Block a user