summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorPeter Tribble <peter.tribble@gmail.com>2019-08-21 10:32:28 +0100
committerPeter Tribble <peter.tribble@gmail.com>2019-08-26 20:35:18 +0100
commit06756f4eb3dca79934574cacc46bd5a99cee195d (patch)
tree8ea882f218dcf0da799f77234ed8872cd4177d2f /usr/src
parent3ee4fc2aa6b5136515cc3eed32d3c6ef33e37471 (diff)
downloadillumos-joyent-06756f4eb3dca79934574cacc46bd5a99cee195d.tar.gz
11590 unused variables in pcie
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Garrett D'Amore <garrett@damore.org>
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/uts/common/io/pciex/pcie.c5
-rw-r--r--usr/src/uts/i86pc/pcie/Makefile1
2 files changed, 0 insertions, 6 deletions
diff --git a/usr/src/uts/common/io/pciex/pcie.c b/usr/src/uts/common/io/pciex/pcie.c
index 1922f821f3..4eff14d563 100644
--- a/usr/src/uts/common/io/pciex/pcie.c
+++ b/usr/src/uts/common/io/pciex/pcie.c
@@ -3029,11 +3029,6 @@ pcie_link_bw_intr(dev_info_t *dip)
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
uint16_t linksts;
uint16_t flags = PCIE_LINKSTS_LINK_BW_MGMT | PCIE_LINKSTS_AUTO_BW;
- dev_info_t *cdip;
- sysevent_t *se = NULL;
- sysevent_value_t se_val;
- sysevent_id_t eid;
- sysevent_attr_list_t *ev_attr_list = NULL;
if ((bus_p->bus_lbw_state & PCIE_LBW_S_ENABLED) == 0) {
return (DDI_INTR_UNCLAIMED);
diff --git a/usr/src/uts/i86pc/pcie/Makefile b/usr/src/uts/i86pc/pcie/Makefile
index 1a849006f5..6e79f397fb 100644
--- a/usr/src/uts/i86pc/pcie/Makefile
+++ b/usr/src/uts/i86pc/pcie/Makefile
@@ -57,7 +57,6 @@ ALL_TARGET = $(BINARY)
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CERRWARN += -_gcc=-Wno-unused-value
-CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-unused-function # safe
# needs work