* [merged] iosched-remove-redundant-sprintf.patch removed from -mm tree
@ 2011-05-06 19:54 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2011-05-06 19:54 UTC (permalink / raw)
To: kees.cook, axboe, mm-commits
The patch titled
iosched: remove redundant sprintf
has been removed from the -mm tree. Its filename was
iosched-remove-redundant-sprintf.patch
This patch was dropped because it was merged into mainline or a subsystem tree
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: iosched: remove redundant sprintf
From: Kees Cook <kees.cook@canonical.com>
After the anticipatory scheduler was dropped, there was no need to
special-case the request_module string. As such, drop the redundant
sprintf and stack variable.
Signed-off-by: Kees Cook <kees.cook@canonical.com>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
block/elevator.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff -puN block/elevator.c~iosched-remove-redundant-sprintf block/elevator.c
--- a/block/elevator.c~iosched-remove-redundant-sprintf
+++ a/block/elevator.c
@@ -155,13 +155,8 @@ static struct elevator_type *elevator_ge
e = elevator_find(name);
if (!e) {
- char elv[ELV_NAME_MAX + strlen("-iosched")];
-
spin_unlock(&elv_list_lock);
-
- snprintf(elv, sizeof(elv), "%s-iosched", name);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-05-06 19:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-06 19:54 [merged] iosched-remove-redundant-sprintf.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.