@@ -265,8 +265,6 @@ static int kaweth_control(struct kaweth_device *kaweth,
265
265
struct usb_ctrlrequest * dr ;
266
266
int retval ;
267
267
268
- netdev_dbg (kaweth -> net , "kaweth_control()\n" );
269
-
270
268
if (in_interrupt ()) {
271
269
netdev_dbg (kaweth -> net , "in_interrupt()\n" );
272
270
return - EBUSY ;
@@ -300,8 +298,6 @@ static int kaweth_read_configuration(struct kaweth_device *kaweth)
300
298
{
301
299
int retval ;
302
300
303
- netdev_dbg (kaweth -> net , "Reading kaweth configuration\n" );
304
-
305
301
retval = kaweth_control (kaweth ,
306
302
usb_rcvctrlpipe (kaweth -> dev , 0 ),
307
303
KAWETH_COMMAND_GET_ETHERNET_DESC ,
@@ -451,8 +447,6 @@ static int kaweth_trigger_firmware(struct kaweth_device *kaweth,
451
447
kaweth -> firmware_buf [6 ] = 0x00 ;
452
448
kaweth -> firmware_buf [7 ] = 0x00 ;
453
449
454
- netdev_dbg (kaweth -> net , "Triggering firmware\n" );
455
-
456
450
return kaweth_control (kaweth ,
457
451
usb_sndctrlpipe (kaweth -> dev , 0 ),
458
452
KAWETH_COMMAND_SCAN ,
@@ -471,7 +465,6 @@ static int kaweth_reset(struct kaweth_device *kaweth)
471
465
{
472
466
int result ;
473
467
474
- netdev_dbg (kaweth -> net , "kaweth_reset(%p)\n" , kaweth );
475
468
result = usb_reset_configuration (kaweth -> dev );
476
469
mdelay (10 );
477
470
@@ -685,8 +678,6 @@ static int kaweth_open(struct net_device *net)
685
678
struct kaweth_device * kaweth = netdev_priv (net );
686
679
int res ;
687
680
688
- netdev_dbg (kaweth -> net , "Opening network device.\n" );
689
-
690
681
res = usb_autopm_get_interface (kaweth -> intf );
691
682
if (res ) {
692
683
dev_err (& kaweth -> intf -> dev , "Interface cannot be resumed.\n" );
@@ -951,7 +942,6 @@ static int kaweth_suspend(struct usb_interface *intf, pm_message_t message)
951
942
struct kaweth_device * kaweth = usb_get_intfdata (intf );
952
943
unsigned long flags ;
953
944
954
- dev_dbg (& intf -> dev , "Suspending device\n" );
955
945
spin_lock_irqsave (& kaweth -> device_lock , flags );
956
946
kaweth -> status |= KAWETH_STATUS_SUSPENDING ;
957
947
spin_unlock_irqrestore (& kaweth -> device_lock , flags );
@@ -968,7 +958,6 @@ static int kaweth_resume(struct usb_interface *intf)
968
958
struct kaweth_device * kaweth = usb_get_intfdata (intf );
969
959
unsigned long flags ;
970
960
971
- dev_dbg (& intf -> dev , "Resuming device\n" );
972
961
spin_lock_irqsave (& kaweth -> device_lock , flags );
973
962
kaweth -> status &= ~KAWETH_STATUS_SUSPENDING ;
974
963
spin_unlock_irqrestore (& kaweth -> device_lock , flags );
@@ -1190,8 +1179,6 @@ static int kaweth_probe(
1190
1179
dev_info (dev , "kaweth interface created at %s\n" ,
1191
1180
kaweth -> net -> name );
1192
1181
1193
- dev_dbg (dev , "Kaweth probe returning.\n" );
1194
-
1195
1182
return 0 ;
1196
1183
1197
1184
err_intfdata :
@@ -1219,8 +1206,6 @@ static void kaweth_disconnect(struct usb_interface *intf)
1219
1206
struct kaweth_device * kaweth = usb_get_intfdata (intf );
1220
1207
struct net_device * netdev ;
1221
1208
1222
- dev_info (& intf -> dev , "Unregistering\n" );
1223
-
1224
1209
usb_set_intfdata (intf , NULL );
1225
1210
if (!kaweth ) {
1226
1211
dev_warn (& intf -> dev , "unregistering non-existent device\n" );
0 commit comments