summaryrefslogtreecommitdiffstats
path: root/sys/dev/ips
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2004-02-14 23:11:03 +0000
committerscottl <scottl@FreeBSD.org>2004-02-14 23:11:03 +0000
commit03b5ef9526151c494c804bfdc890fb4596ca18c9 (patch)
treed9f1e8115027633ef01a1d1b4bcc5315d81a5616 /sys/dev/ips
parentc8b12491b1b3ab3d58678a36759cea6a748bf940 (diff)
downloadFreeBSD-src-03b5ef9526151c494c804bfdc890fb4596ca18c9.zip
FreeBSD-src-03b5ef9526151c494c804bfdc890fb4596ca18c9.tar.gz
Remove the static major assignment for ips(4).
Submitted by: phk, inspired by others.
Diffstat (limited to 'sys/dev/ips')
-rw-r--r--sys/dev/ips/ips.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/ips/ips.c b/sys/dev/ips/ips.c
index bc0a497..9b076d2 100644
--- a/sys/dev/ips/ips.c
+++ b/sys/dev/ips/ips.c
@@ -37,13 +37,11 @@ static d_open_t ips_open;
static d_close_t ips_close;
static d_ioctl_t ips_ioctl;
-#define IPS_CDEV_MAJOR 175
static struct cdevsw ips_cdevsw = {
.d_open = ips_open,
.d_close = ips_close,
.d_ioctl = ips_ioctl,
.d_name = "ips",
- .d_maj = IPS_CDEV_MAJOR,
};
static const char* ips_adapter_name[] = {
OpenPOWER on IntegriCloud