Commit c23c7d46 authored by Hou Zhiqiang's avatar Hou Zhiqiang Committed by Joe Hershberger

net/fm: Remove unused code of FMan QMI

The QMan is not used in FMan IM mode, so no QMI enqueue or QMI
dequeue are performed.
Signed-off-by: default avatarHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent a51897b6
...@@ -336,9 +336,6 @@ static int fm_init_bmi(int fm_idx, struct fm_bmi_common *bmi) ...@@ -336,9 +336,6 @@ static int fm_init_bmi(int fm_idx, struct fm_bmi_common *bmi)
static void fm_init_qmi(struct fm_qmi_common *qmi) static void fm_init_qmi(struct fm_qmi_common *qmi)
{ {
/* disable enqueue and dequeue of QMI */
clrbits_be32(&qmi->fmqm_gc, FMQM_GC_ENQ_EN | FMQM_GC_DEQ_EN);
/* disable all error interrupts */ /* disable all error interrupts */
out_be32(&qmi->fmqm_eien, FMQM_EIEN_DISABLE_ALL); out_be32(&qmi->fmqm_eien, FMQM_EIEN_DISABLE_ALL);
/* clear all error events */ /* clear all error events */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment