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 (harmless) redundant assignment of task->...
details: https://anonhg.NetBSD.org/src/rev/57155d7d14f4
branches: trunk
changeset: 330820:57155d7d14f4
user: riastradh <riastradh%NetBSD.org@localhost>
date: Tue Jul 22 23:06:29 2014 +0000
description:
Remove (harmless) redundant assignment of task->queue in usb_add_task.
diffstat:
sys/dev/usb/usb.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 7d915310f665 -r 57155d7d14f4 sys/dev/usb/usb.c
--- a/sys/dev/usb/usb.c Tue Jul 22 22:41:58 2014 +0000
+++ b/sys/dev/usb/usb.c Tue Jul 22 23:06:29 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: usb.c,v 1.152 2014/07/17 19:23:40 riastradh Exp $ */
+/* $NetBSD: usb.c,v 1.153 2014/07/22 23:06:29 riastradh Exp $ */
/*
* Copyright (c) 1998, 2002, 2008, 2012 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usb.c,v 1.152 2014/07/17 19:23:40 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usb.c,v 1.153 2014/07/22 23:06:29 riastradh Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd.h"
@@ -364,7 +364,6 @@
USB_NUM_TASKQS) {
DPRINTFN(2,("usb_add_task: task=%p\n", task));
TAILQ_INSERT_TAIL(&taskq->tasks, task, next);
- task->queue = queue;
cv_signal(&taskq->cv);
} else {
DPRINTFN(3,("usb_add_task: task=%p on q\n", task));
Home |
Main Index |
Thread Index |
Old Index