Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Remove unused variable
details: https://anonhg.NetBSD.org/src/rev/0b1feeb7532a
branches: trunk
changeset: 790061:0b1feeb7532a
user: martin <martin%NetBSD.org@localhost>
date: Sun Sep 15 15:43:20 2013 +0000
description:
Remove unused variable
diffstat:
sys/dev/usb/uirda.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (37 lines):
diff -r 16e575fdda85 -r 0b1feeb7532a sys/dev/usb/uirda.c
--- a/sys/dev/usb/uirda.c Sun Sep 15 15:41:11 2013 +0000
+++ b/sys/dev/usb/uirda.c Sun Sep 15 15:43:20 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uirda.c,v 1.37 2012/03/06 03:35:29 mrg Exp $ */
+/* $NetBSD: uirda.c,v 1.38 2013/09/15 15:43:20 martin Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uirda.c,v 1.37 2012/03/06 03:35:29 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uirda.c,v 1.38 2013/09/15 15:43:20 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -465,7 +465,6 @@
uirda_read(void *h, struct uio *uio, int flag)
{
struct uirda_softc *sc = h;
- usbd_status err;
int s;
int error;
u_int n;
@@ -509,8 +508,8 @@
sc->sc_rd_count = 0;
mutex_exit(&sc->sc_rd_buf_lk);
- err = uirda_start_read(sc);
- /* XXX check err */
+ uirda_start_read(sc);
+ /* XXX check uirda_start_read() return value */
} while (n == 0);
Home |
Main Index |
Thread Index |
Old Index