From 4bdc9660e5e84c13fbcc594f765b7cdbe75f255d Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sun, 4 Nov 2001 08:44:49 +0000 Subject: [PATCH] Remove unneeded call to cdevsw_add() --- sys/pci/meteor.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/pci/meteor.c b/sys/pci/meteor.c index 4c701c4cc26..9020d677be3 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 */