diff options
author | Tejun Heo <tj@kernel.org> | 2012-08-22 19:22:16 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-09-24 18:17:23 -0400 |
commit | 474fee3db16c63bc440bfb93b57f72ecfc4246f0 (patch) | |
tree | f5fed7f3b40408f21fa3b9edc67d5ac0b869149f /include/net | |
parent | 5db327f96daa2401b9afec6cd80cebe6c6475bb1 (diff) |
NFC: Use system_nrt_wq instead of custom ones
NFC is using a number of custom ordered workqueues w/ WQ_MEM_RECLAIM.
WQ_MEM_RECLAIM is unnecessary unless NFC is gonna be used as transport
for storage device, and all use cases match one work item to one
ordered workqueue - IOW, there's no actual ordering going on at all
and using system_nrt_wq gives the same behavior.
There's nothing to be gained by using custom workqueues. Use
system_nrt_wq instead and drop all the custom ones.
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/nfc/hci.h | 2 | ||||
-rw-r--r-- | include/net/nfc/nfc.h | 1 | ||||
-rw-r--r-- | include/net/nfc/shdlc.h | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/include/net/nfc/hci.h b/include/net/nfc/hci.h index f5169b04f082..6f065d563ec1 100644 --- a/include/net/nfc/hci.h +++ b/include/net/nfc/hci.h | |||
@@ -74,7 +74,6 @@ struct nfc_hci_dev { | |||
74 | 74 | ||
75 | struct list_head msg_tx_queue; | 75 | struct list_head msg_tx_queue; |
76 | 76 | ||
77 | struct workqueue_struct *msg_tx_wq; | ||
78 | struct work_struct msg_tx_work; | 77 | struct work_struct msg_tx_work; |
79 | 78 | ||
80 | struct timer_list cmd_timer; | 79 | struct timer_list cmd_timer; |
@@ -82,7 +81,6 @@ struct nfc_hci_dev { | |||
82 | 81 | ||
83 | struct sk_buff_head rx_hcp_frags; | 82 | struct sk_buff_head rx_hcp_frags; |
84 | 83 | ||
85 | struct workqueue_struct *msg_rx_wq; | ||
86 | struct work_struct msg_rx_work; | 84 | struct work_struct msg_rx_work; |
87 | 85 | ||
88 | struct sk_buff_head msg_rx_queue; | 86 | struct sk_buff_head msg_rx_queue; |
diff --git a/include/net/nfc/nfc.h b/include/net/nfc/nfc.h index 7b9f71fa0ea7..bfbac732d8c6 100644 --- a/include/net/nfc/nfc.h +++ b/include/net/nfc/nfc.h | |||
@@ -113,7 +113,6 @@ struct nfc_dev { | |||
113 | int tx_tailroom; | 113 | int tx_tailroom; |
114 | 114 | ||
115 | struct timer_list check_pres_timer; | 115 | struct timer_list check_pres_timer; |
116 | struct workqueue_struct *check_pres_wq; | ||
117 | struct work_struct check_pres_work; | 116 | struct work_struct check_pres_work; |
118 | 117 | ||
119 | struct nfc_ops *ops; | 118 | struct nfc_ops *ops; |
diff --git a/include/net/nfc/shdlc.h b/include/net/nfc/shdlc.h index 35e930d2f638..342427362989 100644 --- a/include/net/nfc/shdlc.h +++ b/include/net/nfc/shdlc.h | |||
@@ -79,7 +79,6 @@ struct nfc_shdlc { | |||
79 | 79 | ||
80 | struct sk_buff_head ack_pending_q; | 80 | struct sk_buff_head ack_pending_q; |
81 | 81 | ||
82 | struct workqueue_struct *sm_wq; | ||
83 | struct work_struct sm_work; | 82 | struct work_struct sm_work; |
84 | 83 | ||
85 | struct nfc_shdlc_ops *ops; | 84 | struct nfc_shdlc_ops *ops; |