Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Remove an unused variable
details: https://anonhg.NetBSD.org/src/rev/3542560e1e34
branches: trunk
changeset: 779542:3542560e1e34
user: martin <martin%NetBSD.org@localhost>
date: Sat Jun 02 15:54:02 2012 +0000
description:
Remove an unused variable
diffstat:
sys/kern/kern_event.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r bbce1db92799 -r 3542560e1e34 sys/kern/kern_event.c
--- a/sys/kern/kern_event.c Sat Jun 02 15:52:24 2012 +0000
+++ b/sys/kern/kern_event.c Sat Jun 02 15:54:02 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_event.c,v 1.75 2012/01/25 00:28:35 christos Exp $ */
+/* $NetBSD: kern_event.c,v 1.76 2012/06/02 15:54:02 martin Exp $ */
/*-
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_event.c,v 1.75 2012/01/25 00:28:35 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_event.c,v 1.76 2012/06/02 15:54:02 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1454,7 +1454,6 @@
kqueue_kqfilter(file_t *fp, struct knote *kn)
{
struct kqueue *kq;
- filedesc_t *fdp;
kq = ((file_t *)kn->kn_obj)->f_data;
@@ -1464,7 +1463,6 @@
return 1;
kn->kn_fop = &kqread_filtops;
- fdp = curlwp->l_fd;
mutex_enter(&kq->kq_lock);
SLIST_INSERT_HEAD(&kq->kq_sel.sel_klist, kn, kn_selnext);
mutex_exit(&kq->kq_lock);
Home |
Main Index |
Thread Index |
Old Index