From: Tejun Heo Date: Sat, 22 Dec 2012 01:56:53 +0000 (-0800) Subject: sja1000: don't use [delayed_]work_pending() X-Git-Tag: v3.9-rc1~160^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cab3f9fcc7ecaf70c77a10032b4757f769e345b;p=pandora-kernel.git sja1000: 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 sja1000. Only compile tested. Signed-off-by: Tejun Heo Acked-by: "David S. Miller" Cc: Wolfgang Grandegger Cc: netdev@vger.kernel.org --- Reading git-diff-tree failed