- 2.6.2 - devfs_fs_kernel.h - compiler
PATCH 1/1 - 2.6.2 - devfs_fs_kernel.h - compiler
This patch eliminates "parameter defined but not used" warnings.
Signature · 2 lines
Ron Gage - LPIC1, MCP, A+, Net+ Pontiac, Michigan
include/linux/devfs_fs_kernel.h +14 -2
@@ -26,29 +26,41 @@#else /* CONFIG_DEVFS_FS */ static inline int devfs_mk_bdev (dev_t dev,umode_t mode,const char *fmt, ...) { + dev = dev; + mode = mode; + fmt = fmt;return 0 ; }static inline int devfs_mk_cdev (dev_t dev,umode_t mode,const char *fmt, ...) { + dev = dev; + mode = mode; + fmt = fmt;return 0 ; }static inline int devfs_mk_symlink (const char *name,const char *link) { -return 0 ; + name = name; + link = link; +return 0 ; }static inline int devfs_mk_dir (const char *fmt, ...) { + fmt = fmt;return 0 ; }static inline void devfs_remove (const char *fmt, ...) { + fmt = fmt; }static inline int devfs_register_tape (const char *name) { -return -1 ; + name = name; +return -1 ; }static inline void devfs_unregister_tape (int num) { + num = num; }static inline void mount_devfs_fs (void ) {
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors