git: 2b0d3ee9ecf9 - main - sk: plug set-but-not-used vars
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Dec 2021 14:08:41 UTC
The branch main has been updated by mjg:
URL: https://cgit.FreeBSD.org/src/commit/?id=2b0d3ee9ecf9b92ac0dc4155cadf048a30c1ee01
commit 2b0d3ee9ecf9b92ac0dc4155cadf048a30c1ee01
Author: Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2021-12-14 14:03:56 +0000
Commit: Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2021-12-14 14:08:17 +0000
sk: plug set-but-not-used vars
Sponsored by: Rubicon Communications, LLC ("Netgate")
---
sys/dev/sk/if_sk.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sys/dev/sk/if_sk.c b/sys/dev/sk/if_sk.c
index 809cfa6f9e14..1a34b4522d3c 100644
--- a/sys/dev/sk/if_sk.c
+++ b/sys/dev/sk/if_sk.c
@@ -3036,10 +3036,8 @@ static void
sk_intr_xmac(sc_if)
struct sk_if_softc *sc_if;
{
- struct sk_softc *sc;
u_int16_t status;
- sc = sc_if->sk_softc;
status = SK_XM_READ_2(sc_if, XM_ISR);
/*