diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2009-11-17 19:02:54 -0500 |
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2009-12-03 13:34:21 -0500 |
| commit | c78ae283145d3a8799b2fb01650166a66af3bff8 (patch) | |
| tree | 1da35006397e33e1ff9f3941a19a6cb2aa585c75 /include/net | |
| parent | 76bca88012e1d27de794f32cc551d6314d38b6d9 (diff) | |
Bluetooth: Unobfuscate tasklet_schedule usage
The tasklet schedule function helpers are just an obfuscation. So remove
them and call the schedule functions directly.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/bluetooth/hci_core.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 8460f2283089..7b86094a894b 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h | |||
| @@ -367,22 +367,6 @@ static inline void hci_conn_put(struct hci_conn *conn) | |||
| 367 | } | 367 | } |
| 368 | } | 368 | } |
| 369 | 369 | ||
| 370 | /* ----- HCI tasks ----- */ | ||
| 371 | static inline void hci_sched_cmd(struct hci_dev *hdev) | ||
| 372 | { | ||
| 373 | tasklet_schedule(&hdev->cmd_task); | ||
| 374 | } | ||
| 375 | |||
| 376 | static inline void hci_sched_rx(struct hci_dev *hdev) | ||
| 377 | { | ||
| 378 | tasklet_schedule(&hdev->rx_task); | ||
| 379 | } | ||
| 380 | |||
| 381 | static inline void hci_sched_tx(struct hci_dev *hdev) | ||
| 382 | { | ||
| 383 | tasklet_schedule(&hdev->tx_task); | ||
| 384 | } | ||
| 385 | |||
| 386 | /* ----- HCI Devices ----- */ | 370 | /* ----- HCI Devices ----- */ |
| 387 | static inline void __hci_dev_put(struct hci_dev *d) | 371 | static inline void __hci_dev_put(struct hci_dev *d) |
| 388 | { | 372 | { |
