From: Colin King <colin.king@canonical.com> To: Maxim Levitsky <maximlevitsky@gmail.com>, Jens Axboe <axboe@kernel.dk> Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH][next] ms_block: remove unused pointer 'set' Date: Thu, 8 Nov 2018 11:08:09 +0000 [thread overview] Message-ID: <20181108110809.2145-1-colin.king@canonical.com> (raw) From: Colin Ian King <colin.king@canonical.com> Pointer 'set' is declared but not used, remove it. Cleans up warning: warning: unused variable ‘set’ [-Wunused-variable] Signed-off-by: Colin Ian King <colin.king@canonical.com> --- drivers/memstick/core/ms_block.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/memstick/core/ms_block.c b/drivers/memstick/core/ms_block.c index ee0be66a9a03..82daccc9ea62 100644 --- a/drivers/memstick/core/ms_block.c +++ b/drivers/memstick/core/ms_block.c @@ -2104,7 +2104,6 @@ static const struct blk_mq_ops msb_mq_ops = { static int msb_init_disk(struct memstick_dev *card) { struct msb_data *msb = memstick_get_drvdata(card); - struct blk_mq_tag_set *set = NULL; int rc; unsigned long capacity; -- 2.19.1
WARNING: multiple messages have this Message-ID (diff)
From: Colin King <colin.king@canonical.com> To: Maxim Levitsky <maximlevitsky@gmail.com>, Jens Axboe <axboe@kernel.dk> Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH][next] ms_block: remove unused pointer 'set' Date: Thu, 08 Nov 2018 11:08:09 +0000 [thread overview] Message-ID: <20181108110809.2145-1-colin.king@canonical.com> (raw) From: Colin Ian King <colin.king@canonical.com> Pointer 'set' is declared but not used, remove it. Cleans up warning: warning: unused variable ‘set’ [-Wunused-variable] Signed-off-by: Colin Ian King <colin.king@canonical.com> --- drivers/memstick/core/ms_block.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/memstick/core/ms_block.c b/drivers/memstick/core/ms_block.c index ee0be66a9a03..82daccc9ea62 100644 --- a/drivers/memstick/core/ms_block.c +++ b/drivers/memstick/core/ms_block.c @@ -2104,7 +2104,6 @@ static const struct blk_mq_ops msb_mq_ops = { static int msb_init_disk(struct memstick_dev *card) { struct msb_data *msb = memstick_get_drvdata(card); - struct blk_mq_tag_set *set = NULL; int rc; unsigned long capacity; -- 2.19.1
next reply other threads:[~2018-11-08 11:08 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-11-08 11:08 Colin King [this message] 2018-11-08 11:08 ` [PATCH][next] ms_block: remove unused pointer 'set' Colin King 2018-11-08 13:17 ` Jens Axboe 2018-11-08 13:17 ` Jens Axboe
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20181108110809.2145-1-colin.king@canonical.com \ --to=colin.king@canonical.com \ --cc=axboe@kernel.dk \ --cc=kernel-janitors@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=maximlevitsky@gmail.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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.