RE: [PATCH 02/25] ab8500_charger: don't use [delayed_]work_pending()

From: Arun MURTHY
Date: Mon Jan 07 2013 - 05:48:50 EST


> > 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 ab8500_charger. Only compile
> > tested.
> >
> > Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
> > Cc: Srinidhi Kasagar <srinidhi.kasagar@xxxxxxxxxxxxxx>
> > Cc: Linus Walleij <linus.walleij@xxxxxxxxxx>

Acked-By: Arun Murthy <arun.murthy@xxxxxxxxxxxxxx>

Thanks and Regards,
Arun R Murthy
------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/