[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141202095921.GD6135@ulmo>
Date: Tue, 2 Dec 2014 10:59:22 +0100
From: Thierry Reding <thierry.reding@...il.com>
To: SF Markus Elfring <elfring@...rs.sourceforge.net>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Stephen Warren <swarren@...dotorg.org>,
devel@...verdev.osuosl.org, linux-tegra@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org,
Julia Lawall <julia.lawall@...6.fr>
Subject: Re: [PATCH 1/2] staging: android: ion: Deletion of unnecessary
checks before two function calls
On Sun, Nov 23, 2014 at 07:39:23PM +0100, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@...rs.sourceforge.net>
> Date: Sun, 23 Nov 2014 18:48:15 +0100
>
> The functions ion_heap_destroy() and vfree() perform also input
> parameter validation. Thus the test around the call is not needed.
>
> This issue was detected by using the Coccinelle software.
>
> Signed-off-by: Markus Elfring <elfring@...rs.sourceforge.net>
> ---
> drivers/staging/android/ion/ion.c | 6 ++----
> drivers/staging/android/ion/ion_dummy_driver.c | 6 ++----
> drivers/staging/android/ion/tegra/tegra_ion.c | 6 ++----
> 3 files changed, 6 insertions(+), 12 deletions(-)
Acked-by: Thierry Reding <treding@...dia.com>
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists