summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorplunky <plunky@NetBSD.org>2007-10-28 18:49:52 +0000
committerplunky <plunky@NetBSD.org>2007-10-28 18:49:52 +0000
commitbaebd7699a537000e11289b70bf349117f3faa0b (patch)
treee813a2a16c94b8858da076fb0a8871ee26ddf42a /sys/dev
parent9038ffc17cbd7c4d04466b55a1593a806bb4adfa (diff)
remove unnecessary cast (shortens long line)
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/bluetooth/bthub.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/bluetooth/bthub.c b/sys/dev/bluetooth/bthub.c
index d82d8ab021c..6dc06da00f6 100644
--- a/sys/dev/bluetooth/bthub.c
+++ b/sys/dev/bluetooth/bthub.c
@@ -1,4 +1,4 @@
-/* $NetBSD: bthub.c,v 1.10 2007/03/13 19:26:06 plunky Exp $ */
+/* $NetBSD: bthub.c,v 1.11 2007/10/28 18:49:52 plunky Exp $ */
/*-
* Copyright (c) 2006 Itronix Inc.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bthub.c,v 1.10 2007/03/13 19:26:06 plunky Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bthub.c,v 1.11 2007/10/28 18:49:52 plunky Exp $");
#include <sys/param.h>
#include <sys/conf.h>
@@ -158,7 +158,7 @@ bthubioctl(dev_t devno, unsigned long cmd, void *data, int flag, struct lwp *l)
case BTDEV_ATTACH:
case BTDEV_DETACH:
/* load dictionary */
- err = prop_dictionary_copyin_ioctl((const struct plistref *)data, cmd, &dict);
+ err = prop_dictionary_copyin_ioctl(data, cmd, &dict);
if (err == 0) {
err = bthub_pioctl(devno, cmd, dict, flag, l);
prop_object_release(dict);