From: Tejun Heo Date: Sat, 22 Dec 2012 01:57:12 +0000 (-0800) Subject: usb: gadget: at91_udc: don't use [delayed_]work_pending() X-Git-Tag: v3.9-rc1~126^2~43^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=348409a267e441c46345f325db37e9824fcf675e;p=pandora-kernel.git usb: gadget: at91_udc: 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 at91_udc. Only compile tested. Signed-off-by: Tejun Heo Cc: Andrew Victor Cc: Jean-Christophe Plagniol-Villard Cc: linux-usb@vger.kernel.org Acked-by: Nicolas Ferre Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed