lkml.org 
[lkml]   [2010]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectwhat'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
========================================================================


\
 
 \ /
  Last update: 2010-07-08 22:31    [W:0.024 / U:0.864 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site