[dm-devel] [PATCH -next] dm mpath: Remove unused variable ret
Mike Snitzer
snitzer at redhat.com
Thu May 7 14:29:58 UTC 2020
On Thu, May 07 2020 at 8:26am -0400,
Samuel Zou <zou_wei at 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 at huawei.com>
> Signed-off-by: Samuel Zou <zou_wei at huawei.com>
Nack.
DMEMIT() uses the local sz variable.
More information about the dm-devel
mailing list