diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-02-21 19:42:58 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-02-21 19:42:58 +0000 |
commit | c9c7976f7ffdd0ed81e12d8930651a9a858defa1 (patch) | |
tree | c4705f5f800de96d25d8356b2711c664dabcd41e /sys/dev/mcd/mcd.c | |
parent | 7563a29b8566c3c862a995022e62a54b6c3faa6b (diff) | |
download | src-c9c7976f7ffdd0ed81e12d8930651a9a858defa1.tar.gz src-c9c7976f7ffdd0ed81e12d8930651a9a858defa1.zip |
Device megapatch 1/6:
Free approx 86 major numbers with a mostly automatically generated patch.
A number of strategic drivers have been left behind by caution, and a few
because they still (ab)use their major number.
Notes
Notes:
svn path=/head/; revision=126076
Diffstat (limited to 'sys/dev/mcd/mcd.c')
-rw-r--r-- | sys/dev/mcd/mcd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/mcd/mcd.c b/sys/dev/mcd/mcd.c index 21c160e513cd..285d57dcbf24 100644 --- a/sys/dev/mcd/mcd.c +++ b/sys/dev/mcd/mcd.c @@ -160,7 +160,6 @@ static d_close_t mcdclose; static d_ioctl_t mcdioctl; static d_strategy_t mcdstrategy; -#define CDEV_MAJOR 29 static struct cdevsw mcd_cdevsw = { .d_open = mcdopen, @@ -169,7 +168,6 @@ static struct cdevsw mcd_cdevsw = { .d_ioctl = mcdioctl, .d_strategy = mcdstrategy, .d_name = "mcd", - .d_maj = CDEV_MAJOR, .d_flags = D_DISK, }; |