Kill two inlines which are notwhere used and which don't make sense
in the case someone is not compiling devfs at all.
--------------020908090708020803010901
Content-Type: text/plain;
name="devfs-2.5.27.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="devfs-2.5.27.diff"
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;
--------------020908090708020803010901--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/