[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190828011930.29791-2-marcos.souza.org@gmail.com>
Date: Tue, 27 Aug 2019 22:19:27 -0300
From: Marcos Paulo de Souza <marcos.souza.org@...il.com>
To: linux-kernel@...r.kernel.org, linux-block@...r.kernel.org,
axboe@...nel.dk
Cc: Marcos Paulo de Souza <marcos.souza.org@...il.com>,
Hannes Reinecke <hare@...e.com>, Bob Liu <bob.liu@...cle.com>
Subject: [RESEND PATCH 1/4] block: elevator.c: Remove now unused elevator= argument
Since the inclusion of blk-mq, elevator argument was not being
considered anymore, and it's utility died long with the legacy IO path,
now removed too.
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@...il.com>
Reviewed-by: Hannes Reinecke <hare@...e.com>
Reviewed-by: Bob Liu <bob.liu@...cle.com>
---
block/elevator.c | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/block/elevator.c b/block/elevator.c
index 2f17d66d0e61..f56d9c7d5cbc 100644
--- a/block/elevator.c
+++ b/block/elevator.c
@@ -135,20 +135,6 @@ static struct elevator_type *elevator_get(struct request_queue *q,
return e;
}
-static char chosen_elevator[ELV_NAME_MAX];
-
-static int __init elevator_setup(char *str)
-{
- /*
- * Be backwards-compatible with previous kernels, so users
- * won't get the wrong elevator.
- */
- strncpy(chosen_elevator, str, sizeof(chosen_elevator) - 1);
- return 1;
-}
-
-__setup("elevator=", elevator_setup);
-
static struct kobj_type elv_ktype;
struct elevator_queue *elevator_alloc(struct request_queue *q,
--
2.22.0
Powered by blists - more mailing lists