From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roland Dreier Date: Wed, 02 Jun 2010 21:56:44 +0000 Subject: Re: [patch 1/2] infiniband/cxgb4: remove unneeded assignment Message-Id: List-Id: References: <20100531140053.GT5483@bicker> In-Reply-To: <20100531140053.GT5483@bicker> (Dan Carpenter's message of "Mon, 31 May 2010 16:00:53 +0200") MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Dan Carpenter Cc: Steve Wise , Roland Dreier , Sean Hefty , Hal Rosenstock , linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, kernel-janitors-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Looks fine to me... in fact I don't see how this could have avoided a NULL deref here unless the compiler is already optimizing out this assignment, since two lines above is struct sk_buff *skb = NULL; before we do - struct cpl_act_establish *rpl = cplhdr(skb); Steve? -- Roland Dreier || For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/index.html