From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:33507 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751344AbcDFSkc (ORCPT ); Wed, 6 Apr 2016 14:40:32 -0400 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Subject: Re: wl12xx: remove redundant null check on wl->scan.ssid From: Kalle Valo In-Reply-To: <1458318048-28184-1-git-send-email-colin.king@canonical.com> To: Colin Ian King Cc: Arik Nemtsov , Luca Coelho , Avraham Stern , Eliad Peller , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Message-Id: <20160406184031.7925D615CF@smtp.codeaurora.org> (sfid-20160406_204059_043538_C18BB181) Date: Wed, 6 Apr 2016 18:40:31 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org List-ID: > From: Colin Ian King > > ssid is an array of u8, so it can never be null, so the null check on > wl->scan.ssid is redundant and can be removed. > > Signed-off-by: Colin Ian King Thanks, applied to wireless-drivers-next.git. Kalle Valo