Commit 2fc16028 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] USB: remove pointless warning about using usbdevfs

This is being printed when it shouldn't, but there really isn't an
easy way to fix it.  This closes bug #223.
parent 95caaa31
...@@ -491,10 +491,6 @@ static struct file_system_type usbdevice_fs_type; ...@@ -491,10 +491,6 @@ static struct file_system_type usbdevice_fs_type;
static struct super_block *usb_get_sb(struct file_system_type *fs_type, static struct super_block *usb_get_sb(struct file_system_type *fs_type,
int flags, const char *dev_name, void *data) int flags, const char *dev_name, void *data)
{ {
if (fs_type == &usbdevice_fs_type)
printk (KERN_INFO "Please use the 'usbfs' filetype instead, "
"the 'usbdevfs' name is deprecated.\n");
return get_sb_single(fs_type, flags, data, usbfs_fill_super); return get_sb_single(fs_type, flags, data, usbfs_fill_super);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment