USB: xusbatm.c: remove dbg() usage
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 May 2012 04:33:30 +0000 (21:33 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 May 2012 04:33:30 +0000 (21:33 -0700)
dbg() was a very old USB-specific macro that should no longer
be used. This patch removes it from being used in the driver
and uses dev_dbg() instead.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/atm/xusbatm.c

index 48ee0c5ff282356fd0e1ee36639e3afa715719bf..14ec9f0c592485c8f8d91acf919a84f52f7e9d69 100644 (file)
@@ -187,8 +187,6 @@ static int __init xusbatm_init(void)
 {
        int i;
 
-       dbg("xusbatm_init");
-
        if (!num_vendor ||
            num_vendor != num_product ||
            num_vendor != num_rx_endpoint ||
@@ -221,8 +219,6 @@ module_init(xusbatm_init);
 
 static void __exit xusbatm_exit(void)
 {
-       dbg("xusbatm_exit entered");
-
        usb_deregister(&xusbatm_usb_driver);
 }
 module_exit(xusbatm_exit);