summaryrefslogtreecommitdiffstats
path: root/drivers/staging/qlge
diff options
context:
space:
mode:
authorRylan Dmello <mail@rylan.coffee>2020-04-27 00:14:44 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-28 14:25:26 +0200
commit2d2aba6c0f36826d9af5805a3404101a54eb4fbb (patch)
treee1e44c8de5cabf5b452712fc6d830b8951d0a55c /drivers/staging/qlge
parent7b58387cd5f3204418e07e16b5f04f71bfe9b7b6 (diff)
downloadlinux-2d2aba6c0f36826d9af5805a3404101a54eb4fbb.tar.bz2
staging: qlge: Remove print statement for vlgrp field
Remove statement that tries to print the non-existent 'vlgrp' field in the 'ql_adapter' struct, which causes a compilation failure when QL_DEV_DUMP is set. vlgrp seems to have been removed from ql_adapter as a part of commit 18c49b91777c ("qlge: do vlan cleanup") in 2011. vlgrp might be replaced by the 'active_vlans' array introduced in the aforementioned commit. But I'm not sure if printing all 64 values of that array would help with debugging this driver, so I'm leaving it out of the debug code in this patch. Signed-off-by: Rylan Dmello <mail@rylan.coffee> Link: https://lore.kernel.org/r/51bae37a54d414491779e4a3329508cc864ab900.1587959245.git.mail@rylan.coffee Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/qlge')
-rw-r--r--drivers/staging/qlge/qlge_dbg.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/qlge/qlge_dbg.c b/drivers/staging/qlge/qlge_dbg.c
index e0dcdc452e2e..bf157baace54 100644
--- a/drivers/staging/qlge/qlge_dbg.c
+++ b/drivers/staging/qlge/qlge_dbg.c
@@ -1570,7 +1570,6 @@ void ql_dump_qdev(struct ql_adapter *qdev)
int i;
DUMP_QDEV_FIELD(qdev, "%lx", flags);
- DUMP_QDEV_FIELD(qdev, "%p", vlgrp);
DUMP_QDEV_FIELD(qdev, "%p", pdev);
DUMP_QDEV_FIELD(qdev, "%p", ndev);
DUMP_QDEV_FIELD(qdev, "%d", chip_rev_id);