Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic remove unused variable.



details:   https://anonhg.NetBSD.org/src/rev/14ad5fd3ed5f
branches:  trunk
changeset: 348030:14ad5fd3ed5f
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Oct 01 13:46:52 2016 +0000

description:
remove unused variable.

diffstat:

 sys/dev/ic/sl811hs.c |  10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diffs (31 lines):

diff -r b0050f2037d4 -r 14ad5fd3ed5f sys/dev/ic/sl811hs.c
--- a/sys/dev/ic/sl811hs.c      Sat Oct 01 13:15:45 2016 +0000
+++ b/sys/dev/ic/sl811hs.c      Sat Oct 01 13:46:52 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sl811hs.c,v 1.96 2016/09/24 15:06:29 skrll Exp $       */
+/*     $NetBSD: sl811hs.c,v 1.97 2016/10/01 13:46:52 christos Exp $    */
 
 /*
  * Not (c) 2007 Matthew Orgass
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.96 2016/09/24 15:06:29 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.97 2016/10/01 13:46:52 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_slhci.h"
@@ -185,12 +185,6 @@
 #endif
 static const struct timeval reserved_warn_rate = SLHCI_OVERTIME_WARNING_RATE;
 
-/* Rate for overflow warnings */
-#ifndef SLHCI_OVERFLOW_WARNING_RATE
-#define SLHCI_OVERFLOW_WARNING_RATE { 60, 0 } /* 60 seconds */
-#endif
-static const struct timeval overflow_warn_rate = SLHCI_OVERFLOW_WARNING_RATE;
-
 /*
  * For EOF, the spec says 42 bit times, plus (I think) a possible hub skew of
  * 20 bit times.  By default leave 66 bit times to start the transfer beyond



Home | Main Index | Thread Index | Old Index