Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/marvell Remove unused function.



details:   https://anonhg.NetBSD.org/src/rev/88e8100747a5
branches:  trunk
changeset: 820327:88e8100747a5
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Sat Jan 07 14:36:51 2017 +0000

description:
Remove unused function.

diffstat:

 sys/dev/marvell/gtidmac.c    |  11 ++---------
 sys/dev/marvell/gtidmacvar.h |   4 +---
 2 files changed, 3 insertions(+), 12 deletions(-)

diffs (50 lines):

diff -r 58ce978e11b4 -r 88e8100747a5 sys/dev/marvell/gtidmac.c
--- a/sys/dev/marvell/gtidmac.c Sat Jan 07 14:32:32 2017 +0000
+++ b/sys/dev/marvell/gtidmac.c Sat Jan 07 14:36:51 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gtidmac.c,v 1.11 2014/03/15 13:33:48 kiyohara Exp $    */
+/*     $NetBSD: gtidmac.c,v 1.12 2017/01/07 14:36:51 kiyohara Exp $    */
 /*
  * Copyright (c) 2008, 2012 KIYOHARA Takashi
  * All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gtidmac.c,v 1.11 2014/03/15 13:33:48 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gtidmac.c,v 1.12 2017/01/07 14:36:51 kiyohara Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -926,13 +926,6 @@
 }
 
 
-void *
-gtidmac_tag_get(void)
-{
-
-       return gtidmac_softc;
-}
-
 /*
  * IDMAC functions
  */
diff -r 58ce978e11b4 -r 88e8100747a5 sys/dev/marvell/gtidmacvar.h
--- a/sys/dev/marvell/gtidmacvar.h      Sat Jan 07 14:32:32 2017 +0000
+++ b/sys/dev/marvell/gtidmacvar.h      Sat Jan 07 14:36:51 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gtidmacvar.h,v 1.2 2014/03/15 13:33:48 kiyohara Exp $  */
+/*     $NetBSD: gtidmacvar.h,v 1.3 2017/01/07 14:36:51 kiyohara Exp $  */
 /*
  * Copyright (c) 2008, 2009 KIYOHARA Takashi
  * All rights reserved.
@@ -48,8 +48,6 @@
 extern struct gtidmac_winacctbl *gtidmac_winacctbl;
 extern struct gtidmac_winacctbl *mvxore_winacctbl;
 
-void *gtidmac_tag_get(void);
-
 int gtidmac_chan_alloc(void *, bus_dmamap_t **, bus_dmamap_t **, void *);
 void gtidmac_chan_free(void *, int);
 int gtidmac_setup(void *, int, int, bus_dmamap_t *, bus_dmamap_t *, bus_size_t);



Home | Main Index | Thread Index | Old Index