lkml.org 
[lkml]   [2002]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 2.5.27 devfs
Kill two inlines which are notwhere used and which don't make sense
in the case someone is not compiling devfs at all.
diff -urN linux-2.5.27/include/linux/devfs_fs_kernel.h linux/include/linux/devfs_fs_kernel.h
--- linux-2.5.27/include/linux/devfs_fs_kernel.h 2002-07-20 21:11:30.000000000 +0200
+++ linux/include/linux/devfs_fs_kernel.h 2002-07-21 22:14:16.000000000 +0200
@@ -286,16 +286,6 @@
return;
}

-static inline kdev_t devfs_alloc_devnum (char type)
-{
- return NODEV;
-}
-
-static inline void devfs_dealloc_devnum (char type, kdev_t devnum)
-{
- return;
-}
-
static inline int devfs_alloc_unique_number (struct unique_numspace *space)
{
return -1;
\
 
 \ /
  Last update: 2005-03-22 13:27    [W:0.180 / U:16.268 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site