All of lore.kernel.org
 help / color / mirror / Atom feed
* - tiny-sched_getaffinity-cleanup.patch removed from -mm tree
@ 2007-08-08 19:08 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2007-08-08 19:08 UTC (permalink / raw)
  To: drepper, mingo, mm-commits


The patch titled
     tiny sched_getaffinity cleanup
has been removed from the -mm tree.  Its filename was
     tiny-sched_getaffinity-cleanup.patch

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

------------------------------------------------------
Subject: tiny sched_getaffinity cleanup
From: Ulrich Drepper <drepper@redhat.com>

Unless I'm missing something quite tricky here's another tiny cleanup.  The
generated code is not affected (gcc is smart enough) but for people looking
over the code it is just irritating to have the extra conditional.

Signed-off-by: Ulrich Drepper <drepper@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 kernel/sched.c |    4 +---
 1 files changed, 1 insertion(+), 3 deletions(-)

diff -puN kernel/sched.c~tiny-sched_getaffinity-cleanup kernel/sched.c
--- a/kernel/sched.c~tiny-sched_getaffinity-cleanup
+++ a/kernel/sched.c
@@ -4466,10 +4466,8 @@ long sched_getaffinity(pid_t pid, cpumas
 out_unlock:
 	read_unlock(&tasklist_lock);
 	mutex_unlock(&sched_hotcpu_mutex);
-	if (retval)
-		return retval;
 
-	return 0;
+	return retval;
 }
 
 /**
_

Patches currently in -mm which might be from drepper@redhat.com are

git-sched.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-08-08 19:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-08 19:08 - tiny-sched_getaffinity-cleanup.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.