Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp783126ybj; Thu, 7 May 2020 07:33:37 -0700 (PDT) X-Google-Smtp-Source: APiQypIbSYKtlarqRmyq4Lpui71tnL2UMlEEG9lpgoQl+m9LuzJlS9lcvMt6pWpw0rFz15w4yTP4 X-Received: by 2002:a17:906:1dcc:: with SMTP id v12mr6690160ejh.236.1588862017251; Thu, 07 May 2020 07:33:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588862017; cv=none; d=google.com; s=arc-20160816; b=z4OKIK7/gLPAaCtJahZm/Q0uPabsZcZrQ7bOvJ8wq5U0PuuQvY18wLUKcWeExvrhjl XFGw4rdlyu1YavSB0CYqwRuDhH4f/2V71ddhW11OtXSYlVr1tk+sAbXWTdlRYuprHMPG 1EM69AUqrPGZA9SF0qBvD3XnmoSzu5OPRHsAky7BzioSvH0Y+b5lCVhedlTWLv7PnsBN EWirzii7KyZ/6Xz9/kmSjs6tzf3WA0gKqVQ1q1DGA7gz+XfrtIqcS2wPZFRE1J8R/GHq j7Rs4SG4bY4k5RQmI8hftErSLkU0IeAdogx7h3klqWGGbONeGp1dtKv+LKL7fNwfDFES xz5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Rj5kOWwabzY7Fn7PlvPr8yLZoyzAXjgTM69IXu1oI44=; b=0Hm7FfXm2Cj8nqFRM4OwVYcswtAdCNL2mrjYf/PEj9/RZERKWiE9VGJ0V0MOgxxlUt Z4tB1OQQ/uuXePQ9IL5wUGbhQ267rCxeRuSJnOde4ZnKSlAQ7GLDJrLQlwOedTGFBP71 5/ISNr4woKpEDCntCT+mi/CrTThRC0z34e2OPCGT+yhAsC+ziDIE/LFBl6P77k0SSdqP gEHD0BEYMUTISjM6wgn5EPy28E2dv5U4z+fU/zmCp9FXHW32AC5+otddqzFPX/63sDDx YGDj+u6YC7dQ2phkAPwXGwFJ4S7LkWd3hDttXBtVg+v0d8hX+KZq1AA7fqetUXFGRa5z Y2XA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=STC8zExZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v24si3020744edx.606.2020.05.07.07.33.13; Thu, 07 May 2020 07:33:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=STC8zExZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728849AbgEGOab (ORCPT + 99 others); Thu, 7 May 2020 10:30:31 -0400 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:49475 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728767AbgEGOaJ (ORCPT ); Thu, 7 May 2020 10:30:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1588861806; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Rj5kOWwabzY7Fn7PlvPr8yLZoyzAXjgTM69IXu1oI44=; b=STC8zExZjayDbyGAYOoJbJG7K3uWyKggGkMsr6DYRijFu8kw8En09KWwX+7RjefgErK8NH ZVKq1hyjvlovGiASfuwIq0kIrM/oo43C6nn0i8FvV1H7M3qtlAt3U6wPhhRCF6mBZSmE5N hQR8d+JRFi1V3hGvCQ1L4Ng4phTiSgA= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-170-9L22ZqmFO1-qQl2tFhXbWQ-1; Thu, 07 May 2020 10:30:03 -0400 X-MC-Unique: 9L22ZqmFO1-qQl2tFhXbWQ-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 57915107ACF3; Thu, 7 May 2020 14:30:02 +0000 (UTC) Received: from localhost (unknown [10.18.25.174]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 597E7707A9; Thu, 7 May 2020 14:29:59 +0000 (UTC) Date: Thu, 7 May 2020 10:29:58 -0400 From: Mike Snitzer To: Samuel Zou Cc: agk@redhat.com, dm-devel@redhat.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] dm mpath: Remove unused variable ret Message-ID: <20200507142958.GA12032@redhat.com> References: <1588854412-19301-1-git-send-email-zou_wei@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1588854412-19301-1-git-send-email-zou_wei@huawei.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 07 2020 at 8:26am -0400, Samuel Zou 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 > Signed-off-by: Samuel Zou Nack. DMEMIT() uses the local sz variable.