From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Guy, Wey-Yi" Date: Sat, 26 Feb 2011 05:01:01 +0000 Subject: Re: [patch] iwlwifi: remove duplicate initialization Message-Id: <1298696461.6478.1.camel@wwguy-huron> List-Id: References: <20110226015653.GC18043@bicker> In-Reply-To: <20110226015653.GC18043@bicker> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Dan Carpenter Cc: "John W. Linville" , "Venkataraman, Meenakshi" , "Berg, Johannes" , "linux-wireless@vger.kernel.org" , "kernel-janitors@vger.kernel.org" On Fri, 2011-02-25 at 17:56 -0800, Dan Carpenter wrote: > rate_mask is initialized again later so this can be removed. Btw, if > rate_control_send_low(sta, priv_sta, txrc) returns false, that means > that "sta" is non-NULL. That's why the second initialization of > rate_mask is a little simpler than the first. > > Signed-off-by: Dan Carpenter Acked-by: Wey-Yi Guy make sense Wey