Messages in this thread | | | Date | Thu, 8 Jul 2010 16:29:13 -0400 (EDT) | From | "Robert P. J. Day" <> | Subject | what's the point behind "new_valid_dev" always returning 1? |
| |
from include/liunx/kdev_t.h:
static inline int new_valid_dev(dev_t dev) { return 1; }
is there some point to a test function that simply returns hard-coded true, and has been around since 2005? just curious.
rday
--
======================================================================== 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 ========================================================================
| |