Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Apr 2022 21:59:18 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: 019493db3ed0 - main - ata_kauai: Remove unused variable.
Message-ID:  <202204122159.23CLxIOD035350@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=019493db3ed0da9268443317420d0ac9d7323451

commit 019493db3ed0da9268443317420d0ac9d7323451
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-12 21:58:58 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-04-12 21:58:58 +0000

    ata_kauai: Remove unused variable.
---
 sys/powerpc/powermac/ata_kauai.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys/powerpc/powermac/ata_kauai.c b/sys/powerpc/powermac/ata_kauai.c
index ffe8cea3a77f..f1aea059057f 100644
--- a/sys/powerpc/powermac/ata_kauai.c
+++ b/sys/powerpc/powermac/ata_kauai.c
@@ -198,7 +198,6 @@ ata_kauai_probe(device_t dev)
 {
 	struct ata_kauai_softc *sc;
 	u_int32_t devid;
-	phandle_t node;
 	const char *compatstring = NULL;
 	int i, found;
 
@@ -214,7 +213,6 @@ ata_kauai_probe(device_t dev)
 	if (!found)
 		return (ENXIO);
 
-	node = ofw_bus_get_node(dev);
 	sc = device_get_softc(dev);
 	bzero(sc, sizeof(struct ata_kauai_softc));
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204122159.23CLxIOD035350>