aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wimax
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wimax')
-rw-r--r--drivers/net/wimax/i2400m/control.c12
-rw-r--r--drivers/net/wimax/i2400m/driver.c2
-rw-r--r--drivers/net/wimax/i2400m/netdev.c2
-rw-r--r--drivers/net/wimax/i2400m/rx.c7
-rw-r--r--drivers/net/wimax/i2400m/sdio-rx.c2
-rw-r--r--drivers/net/wimax/i2400m/usb-notif.c1
-rw-r--r--drivers/net/wimax/i2400m/usb.c2
7 files changed, 6 insertions, 22 deletions
diff --git a/drivers/net/wimax/i2400m/control.c b/drivers/net/wimax/i2400m/control.c
index 0c1aa8867531..d86e8f31e7fc 100644
--- a/drivers/net/wimax/i2400m/control.c
+++ b/drivers/net/wimax/i2400m/control.c
@@ -361,7 +361,7 @@ void i2400m_report_tlv_system_state(struct i2400m *i2400m,
361 i2400m_state); 361 i2400m_state);
362 i2400m_reset(i2400m, I2400M_RT_WARM); 362 i2400m_reset(i2400m, I2400M_RT_WARM);
363 break; 363 break;
364 }; 364 }
365 d_fnend(3, dev, "(i2400m %p ss %p [%u]) = void\n", 365 d_fnend(3, dev, "(i2400m %p ss %p [%u]) = void\n",
366 i2400m, ss, i2400m_state); 366 i2400m, ss, i2400m_state);
367} 367}
@@ -410,7 +410,7 @@ void i2400m_report_tlv_media_status(struct i2400m *i2400m,
410 default: 410 default:
411 dev_err(dev, "HW BUG? unknown media status %u\n", 411 dev_err(dev, "HW BUG? unknown media status %u\n",
412 status); 412 status);
413 }; 413 }
414 d_fnend(3, dev, "(i2400m %p ms %p [%u]) = void\n", 414 d_fnend(3, dev, "(i2400m %p ms %p [%u]) = void\n",
415 i2400m, ms, status); 415 i2400m, ms, status);
416} 416}
@@ -539,7 +539,7 @@ void i2400m_report_hook(struct i2400m *i2400m,
539 } 539 }
540 } 540 }
541 break; 541 break;
542 }; 542 }
543 d_fnend(3, dev, "(i2400m %p l3l4_hdr %p size %zu) = void\n", 543 d_fnend(3, dev, "(i2400m %p l3l4_hdr %p size %zu) = void\n",
544 i2400m, l3l4_hdr, size); 544 i2400m, l3l4_hdr, size);
545} 545}
@@ -582,8 +582,7 @@ void i2400m_msg_ack_hook(struct i2400m *i2400m,
582 size); 582 size);
583 } 583 }
584 break; 584 break;
585 }; 585 }
586 return;
587} 586}
588 587
589 588
@@ -755,7 +754,7 @@ struct sk_buff *i2400m_msg_to_dev(struct i2400m *i2400m,
755 break; 754 break;
756 default: 755 default:
757 ack_timeout = HZ; 756 ack_timeout = HZ;
758 }; 757 }
759 758
760 if (unlikely(i2400m->trace_msg_from_user)) 759 if (unlikely(i2400m->trace_msg_from_user))
761 wimax_msg(&i2400m->wimax_dev, "echo", buf, buf_len, GFP_KERNEL); 760 wimax_msg(&i2400m->wimax_dev, "echo", buf, buf_len, GFP_KERNEL);
@@ -1434,5 +1433,4 @@ void i2400m_dev_shutdown(struct i2400m *i2400m)
1434 1433
1435 d_fnstart(3, dev, "(i2400m %p)\n", i2400m); 1434 d_fnstart(3, dev, "(i2400m %p)\n", i2400m);
1436 d_fnend(3, dev, "(i2400m %p) = void\n", i2400m); 1435 d_fnend(3, dev, "(i2400m %p) = void\n", i2400m);
1437 return;
1438} 1436}
diff --git a/drivers/net/wimax/i2400m/driver.c b/drivers/net/wimax/i2400m/driver.c
index 66bdb5d6cd34..9c8b78d4abd2 100644
--- a/drivers/net/wimax/i2400m/driver.c
+++ b/drivers/net/wimax/i2400m/driver.c
@@ -737,7 +737,6 @@ out:
737 kfree(iw); 737 kfree(iw);
738 d_fnend(3, dev, "(ws %p i2400m %p reason %s) = void\n", 738 d_fnend(3, dev, "(ws %p i2400m %p reason %s) = void\n",
739 ws, i2400m, reason); 739 ws, i2400m, reason);
740 return;
741} 740}
742 741
743 742
@@ -1087,7 +1086,6 @@ void __exit i2400m_driver_exit(void)
1087 /* for scheds i2400m_dev_reset_handle() */ 1086 /* for scheds i2400m_dev_reset_handle() */
1088 flush_scheduled_work(); 1087 flush_scheduled_work();
1089 i2400m_barker_db_exit(); 1088 i2400m_barker_db_exit();
1090 return;
1091} 1089}
1092module_exit(i2400m_driver_exit); 1090module_exit(i2400m_driver_exit);
1093 1091
diff --git a/drivers/net/wimax/i2400m/netdev.c b/drivers/net/wimax/i2400m/netdev.c
index 7d7b5ef0531c..94742e1eafe0 100644
--- a/drivers/net/wimax/i2400m/netdev.c
+++ b/drivers/net/wimax/i2400m/netdev.c
@@ -253,7 +253,6 @@ void i2400m_net_wake_stop(struct i2400m *i2400m)
253 kfree_skb(wake_tx_skb); 253 kfree_skb(wake_tx_skb);
254 } 254 }
255 d_fnend(3, dev, "(i2400m %p) = void\n", i2400m); 255 d_fnend(3, dev, "(i2400m %p) = void\n", i2400m);
256 return;
257} 256}
258 257
259 258
@@ -432,7 +431,6 @@ void i2400m_tx_timeout(struct net_device *net_dev)
432 * this, there might be data pending to be sent or not... 431 * this, there might be data pending to be sent or not...
433 */ 432 */
434 net_dev->stats.tx_errors++; 433 net_dev->stats.tx_errors++;
435 return;
436} 434}
437 435
438 436
diff --git a/drivers/net/wimax/i2400m/rx.c b/drivers/net/wimax/i2400m/rx.c
index 6cd12d64fc7a..8cc9e319f435 100644
--- a/drivers/net/wimax/i2400m/rx.c
+++ b/drivers/net/wimax/i2400m/rx.c
@@ -317,7 +317,6 @@ error_waiter_cancelled:
317 kfree_skb(ack_skb); 317 kfree_skb(ack_skb);
318error_no_waiter: 318error_no_waiter:
319 spin_unlock_irqrestore(&i2400m->rx_lock, flags); 319 spin_unlock_irqrestore(&i2400m->rx_lock, flags);
320 return;
321} 320}
322 321
323 322
@@ -722,7 +721,6 @@ void __i2400m_roq_queue(struct i2400m *i2400m, struct i2400m_roq *roq,
722out: 721out:
723 d_fnend(4, dev, "(i2400m %p roq %p skb %p sn %u nsn %d) = void\n", 722 d_fnend(4, dev, "(i2400m %p roq %p skb %p sn %u nsn %d) = void\n",
724 i2400m, roq, skb, sn, nsn); 723 i2400m, roq, skb, sn, nsn);
725 return;
726} 724}
727 725
728 726
@@ -802,7 +800,6 @@ void i2400m_roq_reset(struct i2400m *i2400m, struct i2400m_roq *roq)
802 } 800 }
803 roq->ws = 0; 801 roq->ws = 0;
804 d_fnend(2, dev, "(i2400m %p roq %p) = void\n", i2400m, roq); 802 d_fnend(2, dev, "(i2400m %p roq %p) = void\n", i2400m, roq);
805 return;
806} 803}
807 804
808 805
@@ -841,7 +838,6 @@ void i2400m_roq_queue(struct i2400m *i2400m, struct i2400m_roq *roq,
841 } 838 }
842 d_fnend(2, dev, "(i2400m %p roq %p skb %p lbn %u) = void\n", 839 d_fnend(2, dev, "(i2400m %p roq %p skb %p lbn %u) = void\n",
843 i2400m, roq, skb, lbn); 840 i2400m, roq, skb, lbn);
844 return;
845} 841}
846 842
847 843
@@ -867,7 +863,6 @@ void i2400m_roq_update_ws(struct i2400m *i2400m, struct i2400m_roq *roq,
867 i2400m_roq_log_add(i2400m, roq, I2400M_RO_TYPE_WS, 863 i2400m_roq_log_add(i2400m, roq, I2400M_RO_TYPE_WS,
868 old_ws, len, sn, nsn, roq->ws); 864 old_ws, len, sn, nsn, roq->ws);
869 d_fnstart(2, dev, "(i2400m %p roq %p sn %u) = void\n", i2400m, roq, sn); 865 d_fnstart(2, dev, "(i2400m %p roq %p sn %u) = void\n", i2400m, roq, sn);
870 return;
871} 866}
872 867
873 868
@@ -917,7 +912,6 @@ void i2400m_roq_queue_update_ws(struct i2400m *i2400m, struct i2400m_roq *roq,
917 912
918 d_fnend(2, dev, "(i2400m %p roq %p skb %p sn %u) = void\n", 913 d_fnend(2, dev, "(i2400m %p roq %p skb %p sn %u) = void\n",
919 i2400m, roq, skb, sn); 914 i2400m, roq, skb, sn);
920 return;
921} 915}
922 916
923 917
@@ -1079,7 +1073,6 @@ error_skb_clone:
1079error: 1073error:
1080 d_fnend(2, dev, "(i2400m %p skb_rx %p single %u payload %p " 1074 d_fnend(2, dev, "(i2400m %p skb_rx %p single %u payload %p "
1081 "size %zu) = void\n", i2400m, skb_rx, single_last, payload, size); 1075 "size %zu) = void\n", i2400m, skb_rx, single_last, payload, size);
1082 return;
1083} 1076}
1084 1077
1085 1078
diff --git a/drivers/net/wimax/i2400m/sdio-rx.c b/drivers/net/wimax/i2400m/sdio-rx.c
index d619da33f20b..8b809c2ead6c 100644
--- a/drivers/net/wimax/i2400m/sdio-rx.c
+++ b/drivers/net/wimax/i2400m/sdio-rx.c
@@ -197,7 +197,6 @@ error_alloc_skb:
197error_get_size: 197error_get_size:
198error_bad_size: 198error_bad_size:
199 d_fnend(7, dev, "(i2400ms %p) = %d\n", i2400ms, ret); 199 d_fnend(7, dev, "(i2400ms %p) = %d\n", i2400ms, ret);
200 return;
201} 200}
202 201
203 202
@@ -229,7 +228,6 @@ void i2400ms_irq(struct sdio_func *func)
229 i2400ms_rx(i2400ms); 228 i2400ms_rx(i2400ms);
230error_no_irq: 229error_no_irq:
231 d_fnend(6, dev, "(i2400ms %p) = void\n", i2400ms); 230 d_fnend(6, dev, "(i2400ms %p) = void\n", i2400ms);
232 return;
233} 231}
234 232
235 233
diff --git a/drivers/net/wimax/i2400m/usb-notif.c b/drivers/net/wimax/i2400m/usb-notif.c
index 7b6a1d98bd74..d44b545f4082 100644
--- a/drivers/net/wimax/i2400m/usb-notif.c
+++ b/drivers/net/wimax/i2400m/usb-notif.c
@@ -178,7 +178,6 @@ error_submit:
178out: 178out:
179 d_fnend(4, dev, "(urb %p status %d actual_length %d) = void\n", 179 d_fnend(4, dev, "(urb %p status %d actual_length %d) = void\n",
180 urb, urb->status, urb->actual_length); 180 urb, urb->status, urb->actual_length);
181 return;
182} 181}
183 182
184 183
diff --git a/drivers/net/wimax/i2400m/usb.c b/drivers/net/wimax/i2400m/usb.c
index 0f88702bf5b8..d3365ac85dde 100644
--- a/drivers/net/wimax/i2400m/usb.c
+++ b/drivers/net/wimax/i2400m/usb.c
@@ -515,7 +515,7 @@ int i2400mu_probe(struct usb_interface *iface,
515 iface->needs_remote_wakeup = 1; /* autosuspend (15s delay) */ 515 iface->needs_remote_wakeup = 1; /* autosuspend (15s delay) */
516 device_init_wakeup(dev, 1); 516 device_init_wakeup(dev, 1);
517 usb_dev->autosuspend_delay = 15 * HZ; 517 usb_dev->autosuspend_delay = 15 * HZ;
518 usb_dev->autosuspend_disabled = 0; 518 usb_enable_autosuspend(usb_dev);
519#endif 519#endif
520 520
521 result = i2400m_setup(i2400m, I2400M_BRI_MAC_REINIT); 521 result = i2400m_setup(i2400m, I2400M_BRI_MAC_REINIT);