From 066074b94feaf7f2ecf501a511cf6bdeb06d0aef Mon Sep 17 00:00:00 2001 From: plunky Date: Sun, 20 Aug 2006 07:06:57 +0000 Subject: Make btdev default count explicit --- sys/dev/bluetooth/btdev.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'sys/dev/bluetooth/btdev.c') diff --git a/sys/dev/bluetooth/btdev.c b/sys/dev/bluetooth/btdev.c index 91fe80f6647..ff64dbf4688 100644 --- a/sys/dev/bluetooth/btdev.c +++ b/sys/dev/bluetooth/btdev.c @@ -1,4 +1,4 @@ -/* $NetBSD: btdev.c,v 1.1 2006/07/26 10:38:51 tron Exp $ */ +/* $NetBSD: btdev.c,v 1.2 2006/08/20 07:06:58 plunky Exp $ */ /*- * Copyright (c) 2006 Itronix Inc. @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: btdev.c,v 1.1 2006/07/26 10:38:51 tron Exp $"); +__KERNEL_RCSID(0, "$NetBSD: btdev.c,v 1.2 2006/08/20 07:06:58 plunky Exp $"); #include #include @@ -58,8 +58,6 @@ __KERNEL_RCSID(0, "$NetBSD: btdev.c,v 1.1 2006/07/26 10:38:51 tron Exp $"); * Each device corresponds to a character device /dev/btdevN */ -#define BTDEV_DEFAULT_COUNT 4 /* default number of btdevs */ - struct btdev_softc { struct device sc_dev; int sc_busy; @@ -109,9 +107,6 @@ btdevattach(int num) { int err, i; - if (num < 1) - num = BTDEV_DEFAULT_COUNT; - err = config_cfattach_attach(btdev_cd.cd_name, &btdev_ca); if (err) { aprint_error("%s: unable to register cfattach (%d)\n", -- cgit