summaryrefslogtreecommitdiffstats
path: root/sys/pci/meteor.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-11-04 08:44:49 +0000
committerphk <phk@FreeBSD.org>2001-11-04 08:44:49 +0000
commita37dfe62e8ce9f97f14f3de592be3390fb84c127 (patch)
treebdb71760a53a5489a8f0e7465b395f1bcb8b33ba /sys/pci/meteor.c
parent7463429fd40639833e50379b37b876aca788495c (diff)
downloadFreeBSD-src-a37dfe62e8ce9f97f14f3de592be3390fb84c127.zip
FreeBSD-src-a37dfe62e8ce9f97f14f3de592be3390fb84c127.tar.gz
Remove unneeded call to cdevsw_add()
Diffstat (limited to 'sys/pci/meteor.c')
-rw-r--r--sys/pci/meteor.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/pci/meteor.c b/sys/pci/meteor.c
index 4c701c4..9020d67 100644
--- a/sys/pci/meteor.c
+++ b/sys/pci/meteor.c
@@ -532,10 +532,6 @@ register int err = 0;
static const char *
met_probe (pcici_t tag, pcidi_t type)
{
- static int once;
-
- if (!once++)
- cdevsw_add(&meteor_cdevsw);
switch (type) {
case SAA7116_PHILIPS_ID: /* meteor */
OpenPOWER on IntegriCloud