Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754648AbbB0IHX (ORCPT ); Fri, 27 Feb 2015 03:07:23 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:34203 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753201AbbB0IHV (ORCPT ); Fri, 27 Feb 2015 03:07:21 -0500 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: libertas: remove unnecessary check before calling debugfs_remove From: Kalle Valo In-Reply-To: <1423643586-11002-1-git-send-email-baspeters93@gmail.com> To: Bas Peters Cc: Bas Peters , linville@tuxdriver.com, johannes.berg@intel.com, dcbw@redhat.com, libertas-dev@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Message-Id: <20150227080720.BA59C13FA62@smtp.codeaurora.org> Date: Fri, 27 Feb 2015 08:07:20 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 456 Lines: 14 > Debugfs_remove will check for error or NULL for us, so it is not > necessary to do this here. > > Signed-off-by: Bas Peters Thanks, applied to wireless-drivers-next.git. Kalle Valo -- 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/