Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:59033 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751239AbcFNOSS (ORCPT ); Tue, 14 Jun 2016 10:18:18 -0400 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Subject: Re: [1/1] rsi: eliminate superfluous NULL check From: Kalle Valo In-Reply-To: <1463524241-11351-1-git-send-email-xypron.glpk@gmx.de> To: Heinrich Schuchardt Cc: Nicholas Mc Guire , Johannes Berg , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Heinrich Schuchardt Message-Id: <20160614141818.2ED106120D@smtp.codeaurora.org> (sfid-20160614_161841_947379_C9B7F5CF) Date: Tue, 14 Jun 2016 14:18:18 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org List-ID: Heinrich Schuchardt wrote: > msg is dereferenced before checking against NULL, e.g. > when assigning pad_bytes. > Remove the superfluous check in function rsi_mgmt_pkt_to_core. > > Signed-off-by: Heinrich Schuchardt Thanks, 1 patch applied to wireless-drivers-next.git: 9b648d788d78 rsi: eliminate superfluous NULL check -- Sent by pwcli https://patchwork.kernel.org/patch/9115441/