[Prism54-devel] Re: [PATCH] prism54 tree sync update (patch-c)

Luis R. Rodriguez mcgrof@ruslug.rutgers.edu
Sun, 21 Mar 2004 15:12:45 -0500


On Sun, Mar 21, 2004 at 07:35:48AM +0100, Johannes Steingraeber wrote:
> >  		if (!(skb = dev_alloc_skb(MAX_FRAGMENT_SIZE_RX + 2))) {
> >  			/* error allocating an sk_buff structure elements */
> >  			printk(KERN_ERR "Error allocating skb.\n");
> > +			skb = NULL;
> 
> I didn't get what this change does. Isn't skb already NULL at this
> point?

Yes you're right. It was unnecessary.

	Luis

-- 
GnuPG Key fingerprint = 113F B290 C6D2 0251 4D84  A34A 6ADD 4937 E20A 525E