diff options
author | Tejun Heo <tj@kernel.org> | 2012-08-22 16:22:16 -0700 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-09-25 00:17:23 +0200 |
commit | 474fee3db16c63bc440bfb93b57f72ecfc4246f0 (patch) | |
tree | f5fed7f3b40408f21fa3b9edc67d5ac0b869149f /include/net/nfc/nfc.h | |
parent | 5db327f96daa2401b9afec6cd80cebe6c6475bb1 (diff) | |
download | op-kernel-dev-474fee3db16c63bc440bfb93b57f72ecfc4246f0.zip op-kernel-dev-474fee3db16c63bc440bfb93b57f72ecfc4246f0.tar.gz |
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/nfc/nfc.h')
-rw-r--r-- | include/net/nfc/nfc.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/nfc/nfc.h b/include/net/nfc/nfc.h index 7b9f71fa..bfbac73 100644 --- a/include/net/nfc/nfc.h +++ b/include/net/nfc/nfc.h @@ -113,7 +113,6 @@ struct nfc_dev { int tx_tailroom; struct timer_list check_pres_timer; - struct workqueue_struct *check_pres_wq; struct work_struct check_pres_work; struct nfc_ops *ops; |