mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* what's the point behind "new_valid_dev" always returning 1?
@ 2010-07-08 20:29 Robert P. J. Day
  0 siblings, 0 replies; only message in thread
From: Robert P. J. Day @ 2010-07-08 20:29 UTC (permalink / raw)
  To: Linux Kernel Mailing List


  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
========================================================================

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-07-08 20:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-08 20:29 what's the point behind "new_valid_dev" always returning 1? Robert P. J. Day

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®