Message ID | 5e356088-8825-790d-08bf-c928144fdf01@users.sourceforge.net (mailing list archive) |
---|---|
State | Deferred, archived |
Delegated to: | Mike Snitzer |
Headers | show
Return-Path: <dm-devel-bounces@redhat.com> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 41C06600C8 for <patchwork-dm-devel@patchwork.kernel.org>; Fri, 30 Sep 2016 08:05:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 34A9C28F77 for <patchwork-dm-devel@patchwork.kernel.org>; Fri, 30 Sep 2016 08:05:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 297BA29EB1; Fri, 30 Sep 2016 08:05:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D48B028F77 for <patchwork-dm-devel@patchwork.kernel.org>; Fri, 30 Sep 2016 08:05:24 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u8U82q3W011818; Fri, 30 Sep 2016 04:02:53 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u8T9BScb008212 for <dm-devel@listman.util.phx.redhat.com>; Thu, 29 Sep 2016 05:11:28 -0400 Received: from mx1.redhat.com (ext-mx01.extmail.prod.ext.phx2.redhat.com [10.5.110.25]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u8T9BSEE030719 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 29 Sep 2016 05:11:28 -0400 Received: from mout.web.de (mout.web.de [217.72.192.78]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 694A912638; Thu, 29 Sep 2016 09:11:27 +0000 (UTC) Received: from [192.168.1.2] ([78.49.118.68]) by smtp.web.de (mrweb101) with ESMTPSA (Nemesis) id 0MCZtW-1bhJte3ptS-009T7X; Thu, 29 Sep 2016 11:11:25 +0200 To: dm-devel@redhat.com, linux-raid@vger.kernel.org, Alasdair Kergon <agk@redhat.com>, Mike Snitzer <snitzer@redhat.com>, Shaohua Li <shli@kernel.org> References: <566ABCD9.1060404@users.sourceforge.net> <080668d9-1e1e-e208-f9ea-ff718e8070e5@users.sourceforge.net> From: SF Markus Elfring <elfring@users.sourceforge.net> Message-ID: <5e356088-8825-790d-08bf-c928144fdf01@users.sourceforge.net> Date: Thu, 29 Sep 2016 11:11:23 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <080668d9-1e1e-e208-f9ea-ff718e8070e5@users.sourceforge.net> X-Provags-ID: V03:K0:7C83GTd826wI+9+/c4w4bVvBsKKq9gh6uGk5j7kI3gRHJPgU3YG MWk/PY/dcuM6g37O32yOdcBbuLPJCmHMkNq5QnHBQJgRPdT25TKEeJTrAf2rpYEgcaWvguJ dJqgHtPCQlApLy41ik71UhT5MFwnVB1m93/44uYUB/bB/UOMGzgRbWrYWB8TJ4hStWxgTbY aTC/m4sxh76dy3CtQr2Jg== X-UI-Out-Filterresults: notjunk:1; V01:K0:z8cfaDTNNbU=:OUI7KcakR8O/n7fSt5BTaK Befn+Coj1u3Se2K5m0eML4z4nkhcr6eaQQXuBiy7LMw4HYaZLI7JObDckc+ZDq5ymJo523Hlo VCRxsYBOZuyjBBGZYPxSk85ENPC8v5uYS2NrfI1cVc8EEDZasIL8J7B4CLmKL6v66bDfje6eG I4XfSFcqN2tVmrnQ9VyrETK2NJsax12JEMsFQyeLArlSmws3GJPPs/EbktMiptPJ1egzcRz4j NhZHkbBTlJ6aN5c1p5VOlC75OERU6pR4Zq0B7955xB7v69e4olpGw4x9hfrV0nUiNh03Amfbh 1O1gjHpCl/T8tiIayNLDR04r9doFss5hvXmYCASCzeS8s/inHRB/5jfoco2PPnFirBgLlESZP Ac7seNMKqUNzsIJ4Up/kPm5aWGWu+dB924nbq8o3sMGrRYvCTxLskw00NhxZstCH+vvz0fpyG Q4xQ2w409Aza4IcRfD9+UdBtfZgNxkx8L4XcDV8YjRryDaSdvvOQb1hvtIK6JUjjVwnsi+9ly /u2Uq9hmDPziFnD2a7HIBRjmtk3ZeJaz9V0H5YNk/3PCkbOfc7QC2n7I79fBRHZzO+xzUvEyq sPbA2lFY6/kmUc92a4W61W9QjME5E+vruFpJ213RjkUFuvShK+wKTWsczXts7rlC+Wy8FoRhI 9qnvlo1ysLcDP6VzxRsK3irZkjG5dI+mt9E5VfJsuQ1vPxlxd039A3aFTkq/JEsuETiHMuBMf 0mCkMFVH+xZaVVaTqP81AYMt6pz4HeHShrI30hLIBa/WmnXDeJ4cXtx/dpS0WBeYG7bloBTIk ROeum27 X-Greylist: Sender IP whitelisted by DNSRBL, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Thu, 29 Sep 2016 09:11:28 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Thu, 29 Sep 2016 09:11:28 +0000 (UTC) for IP:'217.72.192.78' DOMAIN:'mout.web.de' HELO:'mout.web.de' FROM:'elfring@users.sourceforge.net' RCPT:'' X-RedHat-Spam-Score: 0.079 (BAYES_50, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS) 217.72.192.78 mout.web.de 217.72.192.78 mout.web.de <elfring@users.sourceforge.net> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.25 X-loop: dm-devel@redhat.com X-Mailman-Approved-At: Fri, 30 Sep 2016 04:02:16 -0400 Cc: Julia Lawall <julia.lawall@lip6.fr>, kernel-janitors@vger.kernel.org, LKML <linux-kernel@vger.kernel.org> Subject: [dm-devel] [PATCH 03/10] dm snapshot: Delete an unnecessary variable initialisation in snapshot_map() X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development <dm-devel.redhat.com> List-Unsubscribe: <https://www.redhat.com/mailman/options/dm-devel>, <mailto:dm-devel-request@redhat.com?subject=unsubscribe> List-Archive: <https://www.redhat.com/archives/dm-devel> List-Post: <mailto:dm-devel@redhat.com> List-Help: <mailto:dm-devel-request@redhat.com?subject=help> List-Subscribe: <https://www.redhat.com/mailman/listinfo/dm-devel>, <mailto:dm-devel-request@redhat.com?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/md/dm-snap.c b/drivers/md/dm-snap.c index 7d81390..82b7604 100644 --- a/drivers/md/dm-snap.c +++ b/drivers/md/dm-snap.c @@ -1675,7 +1675,7 @@ static int snapshot_map(struct dm_target *ti, struct bio *bio) struct dm_snapshot *s = ti->private; int r = DM_MAPIO_REMAPPED; chunk_t chunk; - struct dm_snap_pending_exception *pe = NULL; + struct dm_snap_pending_exception *pe; init_tracked_chunk(bio);