From: Tejun Heo Date: Sat, 22 Dec 2012 01:57:04 +0000 (-0800) Subject: rfkill: don't use [delayed_]work_pending() X-Git-Tag: v3.9-rc1~160^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba0c96cd9a361693b0bae409510d614dc0e26d0f;p=pandora-kernel.git rfkill: don't use [delayed_]work_pending() There's no need to test whether a (delayed) work item in pending before queueing, flushing or cancelling it. Most uses are unnecessary and quite a few of them are buggy. Remove unnecessary pending tests from rfkill. Only compile tested. Signed-off-by: Tejun Heo Acked-by: Johannes Berg Cc: "John W. Linville" Cc: linux-wireless@vger.kernel.org --- Reading git-diff-tree failed