From: Mike Snitzer <snitzer@redhat.com>
To: Samuel Zou <zou_wei@huawei.com>
Cc: dm-devel@redhat.com, linux-kernel@vger.kernel.org, agk@redhat.com
Subject: Re: [PATCH -next] dm mpath: Remove unused variable ret
Date: Thu, 7 May 2020 10:29:58 -0400 [thread overview]
Message-ID: <20200507142958.GA12032@redhat.com> (raw)
In-Reply-To: <1588854412-19301-1-git-send-email-zou_wei@huawei.com>
On Thu, May 07 2020 at 8:26am -0400,
Samuel Zou <zou_wei@huawei.com> wrote:
> This patch fixes below warning reported by coccicheck:
>
> drivers/md/dm-historical-service-time.c:240:14-16: Unneeded variable: "sz". Return "0" on line 261
>
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Samuel Zou <zou_wei@huawei.com>
Nack.
DMEMIT() uses the local sz variable.
WARNING: multiple messages have this Message-ID (diff)
From: Mike Snitzer <snitzer@redhat.com>
To: Samuel Zou <zou_wei@huawei.com>
Cc: agk@redhat.com, dm-devel@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH -next] dm mpath: Remove unused variable ret
Date: Thu, 7 May 2020 10:29:58 -0400 [thread overview]
Message-ID: <20200507142958.GA12032@redhat.com> (raw)
In-Reply-To: <1588854412-19301-1-git-send-email-zou_wei@huawei.com>
On Thu, May 07 2020 at 8:26am -0400,
Samuel Zou <zou_wei@huawei.com> wrote:
> This patch fixes below warning reported by coccicheck:
>
> drivers/md/dm-historical-service-time.c:240:14-16: Unneeded variable: "sz". Return "0" on line 261
>
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Samuel Zou <zou_wei@huawei.com>
Nack.
DMEMIT() uses the local sz variable.
next prev parent reply other threads:[~2020-05-07 14:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-07 12:26 [PATCH -next] dm mpath: Remove unused variable ret Samuel Zou
2020-05-07 12:26 ` Samuel Zou
2020-05-07 14:29 ` Mike Snitzer [this message]
2020-05-07 14:29 ` Mike Snitzer
2020-05-08 1:06 ` Samuel Zou
2020-05-08 1:06 ` Samuel Zou
2020-05-08 1:47 ` kbuild test robot
2020-05-08 1:47 ` kbuild test robot
2020-05-08 1:47 ` kbuild test robot
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=20200507142958.GA12032@redhat.com \
--to=snitzer@redhat.com \
--cc=agk@redhat.com \
--cc=dm-devel@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=zou_wei@huawei.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: link
Be 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.