Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752775AbbBBPMG (ORCPT ); Mon, 2 Feb 2015 10:12:06 -0500 Received: from mout.web.de ([212.227.15.4]:52057 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751057AbbBBPME (ORCPT ); Mon, 2 Feb 2015 10:12:04 -0500 Message-ID: <54CF93BB.40206@users.sourceforge.net> Date: Mon, 02 Feb 2015 16:11:55 +0100 From: SF Markus Elfring User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Alasdair Kergon , Mike Snitzer , Neil Brown , linux-raid@vger.kernel.org CC: LKML , kernel-janitors@vger.kernel.org, Julia Lawall Subject: [PATCH 0/3] md: Deletion of a few unnecessary checks References: <5307CAA2.8060406@users.sourceforge.net> <530A086E.8010901@users.sourceforge.net> <530A72AA.3000601@users.sourceforge.net> <530B5FB6.6010207@users.sourceforge.net> <530C5E18.1020800@users.sourceforge.net> <530CD2C4.4050903@users.sourceforge.net> <530CF8FF.8080600@users.sourceforge.net> <530DD06F.4090703@users.sourceforge.net> <5317A59D.4@users.sourceforge.net> In-Reply-To: <5317A59D.4@users.sourceforge.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:7kmTz+ZMUoRDXr4/HutcAWbn+rCDm8YdyF2+87MSgmqKAhJFJzn P3IWcr5XjJYR2IS2YwQywsQeidGsposYGiTz/9xKbXBISDG1jykWeIP2qWH+AfKZMqE6LXv eBL/kKUwMrnJevXixur80mRNFAVXM4V7u1RZWZJVgDnUi1NkIB5mClDvxDMuIlPmxix+y7I QHU61MkQtVKXIg0KF/MHQ== X-UI-Out-Filterresults: notjunk:1; Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 910 Lines: 24 From: Markus Elfring Date: Mon, 2 Feb 2015 15:51:43 +0100 Further update suggestions were taken into account together with results from static source code analysis. Markus Elfring (3): dm snapshot: Deletion of unnecessary checks before the function call "vfree" md/bitmap: Delete an unnecessary check before the function call "kfree" dm ioctl: Delete an unnecessary check before the function call "dm_table_destroy" drivers/md/bitmap.c | 10 +++++----- drivers/md/dm-ioctl.c | 3 +-- drivers/md/dm-snap-persistent.c | 14 ++++---------- 3 files changed, 10 insertions(+), 17 deletions(-) -- 2.2.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/