From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755015Ab2L1Vog (ORCPT ); Fri, 28 Dec 2012 16:44:36 -0500 Received: from mail-qc0-f177.google.com ([209.85.216.177]:57361 "EHLO mail-qc0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754192Ab2L1Vob (ORCPT ); Fri, 28 Dec 2012 16:44:31 -0500 Date: Fri, 28 Dec 2012 16:44:26 -0500 From: Tejun Heo To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, Jiri Slaby Subject: Re: [PATCH 21/25] tty/max3100: don't use [delayed_]work_pending() Message-ID: <20121228214426.GJ3062@mtj.dyndns.org> References: <1356141435-17340-1-git-send-email-tj@kernel.org> <1356141435-17340-22-git-send-email-tj@kernel.org> <20121222042125.GA14389@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121222042125.GA14389@kroah.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 21, 2012 at 08:21:25PM -0800, Greg Kroah-Hartman wrote: > On Fri, Dec 21, 2012 at 05:57:11PM -0800, Tejun Heo wrote: > > 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 max3100. Only compile tested. > > > > Signed-off-by: Tejun Heo > > Cc: Greg Kroah-Hartman > > Cc: Jiri Slaby > > --- > > Please let me know how this patch should be routed. I can take it > > through the workqueue tree if necessary. > > Please, feel free to take it through your tree: > > Acked-by: Greg Kroah-Hartman Applied to wq/for-3.9-cleanups. Thanks. -- tejun