ps3fb: Remove unused variable.

This commit is contained in:
John Baldwin 2022-04-12 14:58:59 -07:00
parent b2a8b342f3
commit 01d643ae93

View File

@ -92,7 +92,6 @@ static struct ps3fb_softc ps3fb_softc;
static int static int
ps3fb_probe(struct vt_device *vd) ps3fb_probe(struct vt_device *vd)
{ {
struct ps3fb_softc *sc;
int disable; int disable;
char compatible[64]; char compatible[64];
phandle_t root; phandle_t root;
@ -102,8 +101,6 @@ ps3fb_probe(struct vt_device *vd)
if (disable != 0) if (disable != 0)
return (0); return (0);
sc = &ps3fb_softc;
TUNABLE_STR_FETCH("hw.platform", compatible, sizeof(compatible)); TUNABLE_STR_FETCH("hw.platform", compatible, sizeof(compatible));
if (strcmp(compatible, "ps3") == 0) if (strcmp(compatible, "ps3") == 0)
return (CN_INTERNAL); return (CN_INTERNAL);