From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Guy, Wey-Yi" Date: Wed, 31 Aug 2011 09:34:29 +0000 Subject: Re: [patch -next 1/2] iwlwifi: fix double assign in Message-Id: <1314783269.26890.3.camel@wwguy-huron> List-Id: References: <20110831063742.GC3705@shale.localdomain> (sfid-20110831_084010_132544_82772E48) <1314772887.4161.17.camel@jlt3.sipsolutions.net> In-Reply-To: <1314772887.4161.17.camel@jlt3.sipsolutions.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Johannes Berg Cc: Dan Carpenter , "Grumbach, Emmanuel" , Intel Linux Wireless , "John W. Linville" , "open list:INTEL WIRELESS WI..." , "kernel-janitors@vger.kernel.org" On Tue, 2011-08-30 at 23:41 -0700, Johannes Berg wrote: > On Wed, 2011-08-31 at 09:37 +0300, Dan Carpenter wrote: > > "vif" is assigned twice. We can remove the first one. > > > > This silences a Smatch warning that "ctx" could be one step past the > > end of the priv->contexts[] array. > > Good catch. > > Reviewed-by: Johannes Berg > > > Signed-off-by: Dan Carpenter Signed-off-by: Wey-Yi Guy > > Thanks Wey