summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJianhua Xie <Jianhua.Xie@freescale.com>2015-02-10 11:01:25 (GMT)
committerJianhua Xie <Jianhua.Xie@freescale.com>2015-03-09 06:55:09 (GMT)
commite2b98fa2f71223315b8bedd58073156e32d2cfe5 (patch)
treed47ecfd3a5a3727481ac41a7c10f59f5c115b599
parent9936001835315a821a3e505645b22558fd4c68fd (diff)
downloadlinux-fsl-qoriq-e2b98fa2f71223315b8bedd58073156e32d2cfe5.tar.xz
bonding: Fix compile warning
Change-Id: I3845a805706eb1f78ecd4e208c26252cec3bf5a3 Reviewed-on: http://git.am.freescale.net:8181/30479 Reviewed-by: Jiafei Pan <Jiafei.Pan@freescale.com> Signed-off-by: Jianhua Xie <jianhua.xie@freescale.com>
-rw-r--r--drivers/net/bonding/hw_distribution.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/bonding/hw_distribution.c b/drivers/net/bonding/hw_distribution.c
index a2c46a6..afccf70 100644
--- a/drivers/net/bonding/hw_distribution.c
+++ b/drivers/net/bonding/hw_distribution.c
@@ -1012,7 +1012,6 @@ static int init_oh_errq_defq(struct device *dev,
/* These two vaules come from DPA-Eth driver */
uint8_t wq_errq = 2, wq_defq = 1;
struct qm_mcc_initfq initfq;
- struct qm_fqd fqd;
/* Allocate memories for Tx ErrQ and Tx DefQ of oh port */
errq = devm_kzalloc(dev, sizeof(struct dpa_fq), GFP_KERNEL);