]> git.sur5r.net Git - u-boot/commitdiff
net/fm: Remove unused code of FMan QMI
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Fri, 19 Aug 2016 03:35:35 +0000 (11:35 +0800)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 22 Aug 2016 19:21:16 +0000 (14:21 -0500)
The QMan is not used in FMan IM mode, so no QMI enqueue or QMI
dequeue are performed.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/fm/fm.c

index 00cdfd47b864213c7a2960d567cce59d648ed98d..5eb773e5878087ad3f8c588faf0e6d91c008936c 100644 (file)
@@ -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)
 {
-       /* disable enqueue and dequeue of QMI */
-       clrbits_be32(&qmi->fmqm_gc, FMQM_GC_ENQ_EN | FMQM_GC_DEQ_EN);
-
        /* disable all error interrupts */
        out_be32(&qmi->fmqm_eien, FMQM_EIEN_DISABLE_ALL);
        /* clear all error events */