summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVikram Hegde <Vikram.Hegde@Sun.COM>2009-01-28 11:08:43 -0800
committerVikram Hegde <Vikram.Hegde@Sun.COM>2009-01-28 11:08:43 -0800
commit08492e39f5736b9a28446d5b09b59bbb03ec516f (patch)
treed50726ed130a2b7ba4f3c1d8f035a935085ea47a
parentc3a9724da5c6e77268b3f725df640f2848b1ebf8 (diff)
downloadillumos-joyent-08492e39f5736b9a28446d5b09b59bbb03ec516f.tar.gz
4996752 pshot driver has unused variable m_regspecs
-rw-r--r--usr/src/uts/common/io/pshot.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/usr/src/uts/common/io/pshot.c b/usr/src/uts/common/io/pshot.c
index 68f7b278df..66a8ddbc69 100644
--- a/usr/src/uts/common/io/pshot.c
+++ b/usr/src/uts/common/io/pshot.c
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -3372,20 +3372,6 @@ strtoi(char *str)
return (val);
}
-struct m_to_reg {
- char *mc;
- int n_regs;
- int regs[3];
-};
-
-struct m_to_reg m_regspecs[] = {
- {"sun4c", 3, {0xf, 0x6000000, 0x20}},
- {"sun4d", 3, {0xf, 0x6000000, 0x20}},
- {"sun4m", 3, {0xf, 0x6000000, 0x20}},
- {"sun4u", 3, {0xf, 0x6000000, 0x20}},
- {"i86pc", 3, {0xf, 0x6000000, 0x20}},
- {NULL, 0, {0, 0, 0}},
-};
#endif
static void