Skip to contentSkip to conversation

why is "struct cdev *cdev" in char_device_struct listed as "will die"?

DISCUSSION Robert P. J. Day 1 participant 1 message Jul 13, 2010

lore
Share & tools
lore
#0 lore raw

just perusing fs/char_dev.c and noticed this:

static struct char_device_struct {
        struct char_device_struct *next;
        unsigned int major;
        unsigned int baseminor;
        int minorct;
        char name[64];
        struct cdev *cdev;              /* will die */
} *chrdevs[CHRDEV_MAJOR_HASH_SIZE];

so ... why "will die"? deprecated? obsolete?

rday

Signature · 9 lines
========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Top-notch, inexpensive online Linux/OSS/kernel courses
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================