[merged] staging-olpc_dcon-remove-unnecessary-work-pending-test.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Subject: [merged] staging-olpc_dcon-remove-unnecessary-work-pending-test.patch removed from -mm tree
To: xiexiuqi@xxxxxxxxxx,dsd@xxxxxxxxxx,gregkh@xxxxxxxxxxxxxxxxxxx,jfrederich@xxxxxxxxx,jon.nettleton@xxxxxxxxx,tj@xxxxxxxxxx,mm-commits@xxxxxxxxxxxxxxx
From: akpm@xxxxxxxxxxxxxxxxxxxx
Date: Thu, 26 Sep 2013 12:31:18 -0700


The patch titled
     Subject: drivers/staging/olpc_dcon/olpc_dcon.c: remove unnecessary work pending test
has been removed from the -mm tree.  Its filename was
     staging-olpc_dcon-remove-unnecessary-work-pending-test.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Xie XiuQi <xiexiuqi@xxxxxxxxxx>
Subject: drivers/staging/olpc_dcon/olpc_dcon.c: remove unnecessary work pending test

Remove unnecessary work pending test before calling schedule_work().
It has been tested in queue_work_on() already. No functional changed.

Signed-off-by: Xie XiuQi <xiexiuqi@xxxxxxxxxx>
Cc: Jens Frederich <jfrederich@xxxxxxxxx>
Cc: Daniel Drake <dsd@xxxxxxxxxx>
Cc: Jon Nettleton <jon.nettleton@xxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Reviewed-by: Tejun Heo <tj@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/staging/olpc_dcon/olpc_dcon.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/staging/olpc_dcon/olpc_dcon.c~staging-olpc_dcon-remove-unnecessary-work-pending-test drivers/staging/olpc_dcon/olpc_dcon.c
--- a/drivers/staging/olpc_dcon/olpc_dcon.c~staging-olpc_dcon-remove-unnecessary-work-pending-test
+++ a/drivers/staging/olpc_dcon/olpc_dcon.c
@@ -383,7 +383,7 @@ static void dcon_set_source(struct dcon_
 
 	dcon->pending_src = arg;
 
-	if ((dcon->curr_src != arg) && !work_pending(&dcon->switch_source))
+	if (dcon->curr_src != arg)
 		schedule_work(&dcon->switch_source);
 }
 
_

Patches currently in -mm which might be from xiexiuqi@xxxxxxxxxx are

input-remove-unnecessary-work-pending-test.patch
lib-remove-unnecessary-work-pending-test.patch
ipc-remove-unnecessary-work-pending-test.patch
linux-next.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux