Date: Tue, 12 Apr 2022 21:59:29 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 01d643ae9396 - main - ps3fb: Remove unused variable. Message-ID: <202204122159.23CLxTk2035602@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204122159.23CLxTk2035602>