diff options
author | Hou Zhiqiang <Zhiqiang.Hou@nxp.com> | 2016-08-19 11:35:35 +0800 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2016-08-22 14:21:16 -0500 |
commit | c23c7d461fc52f03f784dee9792f8547d14e731d (patch) | |
tree | fd28f96d37661077427b456277fcb4970a7994cb /drivers/net | |
parent | a51897b6c1e517ea2ce95da59784e84c5992dd00 (diff) | |
download | u-boot-imx-c23c7d461fc52f03f784dee9792f8547d14e731d.zip u-boot-imx-c23c7d461fc52f03f784dee9792f8547d14e731d.tar.gz u-boot-imx-c23c7d461fc52f03f784dee9792f8547d14e731d.tar.bz2 |
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: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/fm/fm.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/fm/fm.c b/drivers/net/fm/fm.c index 00cdfd4..5eb773e 100644 --- a/drivers/net/fm/fm.c +++ b/drivers/net/fm/fm.c @@ -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 */ |