summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netgraph/ng_device.c')
-rw-r--r--sys/netgraph/ng_device.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/netgraph/ng_device.c b/sys/netgraph/ng_device.c
index b05c515..ae3237f 100644
--- a/sys/netgraph/ng_device.c
+++ b/sys/netgraph/ng_device.c
@@ -112,7 +112,6 @@ static d_write_t ngdwrite;
static d_ioctl_t ngdioctl;
static d_poll_t ngdpoll;
-#define NGD_CDEV_MAJOR 20
static struct cdevsw ngd_cdevsw = {
.d_open = ngdopen,
.d_close = ngdclose,
@@ -121,7 +120,6 @@ static struct cdevsw ngd_cdevsw = {
.d_ioctl = ngdioctl,
.d_poll = ngdpoll,
.d_name = "ngd",
- .d_maj = NGD_CDEV_MAJOR,
};
/*
OpenPOWER on IntegriCloud