]> Pileus Git - ~andy/linux/commitdiff
fusbh200: always compile debugfs support
authorOliver Neukum <oneukum@suse.de>
Mon, 18 Nov 2013 12:23:13 +0000 (13:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Dec 2013 18:31:21 +0000 (10:31 -0800)
This is a step in the conversion to only use dynamic
debugging.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/fusbh200-hcd.c

index bbe1e22b2cb49f9e24e1db7c5b015390baf2c9b0..10cae6cd75a393022105427fa80edb6a8c3b7081 100644 (file)
@@ -307,13 +307,6 @@ dbg_port_buf (char *buf, unsigned len, const char *label, int port, u32 status)
 
 /*-------------------------------------------------------------------------*/
 
-#ifdef STUB_DEBUG_FILES
-
-static inline void create_debug_files (struct fusbh200_hcd *bus) { }
-static inline void remove_debug_files (struct fusbh200_hcd *bus) { }
-
-#else
-
 /* troubleshooting help: expose state in debugfs */
 
 static int debug_async_open(struct inode *, struct file *);
@@ -889,7 +882,6 @@ static inline void remove_debug_files (struct fusbh200_hcd *fusbh200)
        debugfs_remove_recursive(fusbh200->debug_dir);
 }
 
-#endif /* STUB_DEBUG_FILES */
 /*-------------------------------------------------------------------------*/
 
 /*