From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Date: Tue, 03 Feb 2015 12:06:49 +0000 Subject: Re: [PATCH 1/2] sata_mv: Delete unnecessary checks before the function call "phy_power_off" Message-Id: <20150203120649.GB19463@htj.dyndns.org> List-Id: 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> In-Reply-To: <54D087F1.8090502@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: SF Markus Elfring Cc: linux-ide@vger.kernel.org, LKML , kernel-janitors@vger.kernel.org, Julia Lawall 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