Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/cadence Kill unused sc variable and fix the build.
details: https://anonhg.NetBSD.org/src/rev/56ed1855ec8f
branches: trunk
changeset: 451383:56ed1855ec8f
user: alnsn <alnsn%NetBSD.org@localhost>
date: Sun May 19 13:32:35 2019 +0000
description:
Kill unused sc variable and fix the build.
diffstat:
sys/dev/cadence/if_cemac.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 42b32785184a -r 56ed1855ec8f sys/dev/cadence/if_cemac.c
--- a/sys/dev/cadence/if_cemac.c Sun May 19 09:14:13 2019 +0000
+++ b/sys/dev/cadence/if_cemac.c Sun May 19 13:32:35 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_cemac.c,v 1.17 2019/04/22 08:05:01 msaitoh Exp $ */
+/* $NetBSD: if_cemac.c,v 1.18 2019/05/19 13:32:35 alnsn Exp $ */
/*
* Copyright (c) 2015 Genetec Corporation. All rights reserved.
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_cemac.c,v 1.17 2019/04/22 08:05:01 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_cemac.c,v 1.18 2019/05/19 13:32:35 alnsn Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -739,7 +739,6 @@
static int
cemac_ifioctl(struct ifnet *ifp, u_long cmd, void *data)
{
- struct cemac_softc *sc = ifp->if_softc;
int s, error;
s = splnet();
Home |
Main Index |
Thread Index |
Old Index