From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965006AbbBCMHD (ORCPT ); Tue, 3 Feb 2015 07:07:03 -0500 Received: from mail-qa0-f43.google.com ([209.85.216.43]:62419 "EHLO mail-qa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933181AbbBCMHA (ORCPT ); Tue, 3 Feb 2015 07:07:00 -0500 Date: Tue, 3 Feb 2015 07:06:49 -0500 From: Tejun Heo To: SF Markus Elfring Cc: linux-ide@vger.kernel.org, LKML , kernel-janitors@vger.kernel.org, Julia Lawall Subject: Re: [PATCH 1/2] sata_mv: Delete unnecessary checks before the function call "phy_power_off" Message-ID: <20150203120649.GB19463@htj.dyndns.org> References: <530CD2C4.4050903@users.sourceforge.net> <530CF8FF.8080600@users.sourceforge.net> <530DD06F.4090703@users.sourceforge.net> <5317A59D.4@users.sourceforge.net> <54D08732.4050601@users.sourceforge.net> <54D087F1.8090502@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <54D087F1.8090502@users.sourceforge.net> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 03, 2015 at 09:33:53AM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 2 Feb 2015 22:55:53 +0100 > > The phy_power_off() function tests whether its argument is NULL and then > returns immediately. Thus the test around the call is not needed. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring Applied to libata/for-3.20. Thanks. -- tejun