diff --git a/sys/powerpc/ps3/ps3_syscons.c b/sys/powerpc/ps3/ps3_syscons.c index 30b6ff9bc8a..9b43d588e15 100644 --- a/sys/powerpc/ps3/ps3_syscons.c +++ b/sys/powerpc/ps3/ps3_syscons.c @@ -92,7 +92,6 @@ static struct ps3fb_softc ps3fb_softc; static int ps3fb_probe(struct vt_device *vd) { - struct ps3fb_softc *sc; int disable; char compatible[64]; phandle_t root; @@ -102,8 +101,6 @@ ps3fb_probe(struct vt_device *vd) if (disable != 0) return (0); - sc = &ps3fb_softc; - TUNABLE_STR_FETCH("hw.platform", compatible, sizeof(compatible)); if (strcmp(compatible, "ps3") == 0) return (CN_INTERNAL);