From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754887AbbBFGuJ (ORCPT ); Fri, 6 Feb 2015 01:50:09 -0500 Received: from smtp.codeaurora.org ([198.145.11.231]:38448 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750751AbbBFGuH (ORCPT ); Fri, 6 Feb 2015 01:50:07 -0500 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: ath9k: Delete an unnecessary check before the function call"relay_close" From: Kalle Valo In-Reply-To: <54D25CDC.3040405@users.sourceforge.net> To: SF Markus Elfring Cc: ath9k-devel@venema.h4ckr.net, linux-wireless@vger.kernel.org, QCA ath9k Development , netdev@vger.kernel.org, LKML , kernel-janitors@vger.kernel.org, Julia Lawall Message-Id: <20150206065007.0E82D140CC9@smtp.codeaurora.org> Date: Fri, 6 Feb 2015 06:50:07 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > From: Markus Elfring > Date: Wed, 4 Feb 2015 18:48:28 +0100 > > The relay_close() 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 Thanks, applied to wireless-drivers-next.git. Kalle Valo