git: 01d643ae9396 - main - ps3fb: Remove unused variable.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 12 Apr 2022 21:59:29 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=01d643ae9396e6bf35170d6bd45f0d794cecc22a
commit 01d643ae9396e6bf35170d6bd45f0d794cecc22a
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-12 21:58:59 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-04-12 21:58:59 +0000
ps3fb: Remove unused variable.
---
sys/powerpc/ps3/ps3_syscons.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/sys/powerpc/ps3/ps3_syscons.c b/sys/powerpc/ps3/ps3_syscons.c
index 30b6ff9bc8a2..9b43d588e15c 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);