Search Linux Wireless

Re: [PATCH v3 1/2] wireless: add ieee80211_amsdu_to_8023s

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2009-11-30 at 12:25 +0800, Zhu Yi wrote:

> +		__skb_queue_tail(list, frame);
> +	}
> +
> +	return 0;
> +
> + purge:
> +	__skb_queue_purge(list);
> + out:
> +	dev_kfree_skb(skb);
> +	return -1;

I'm not sure there's much use in the return value, since it otherwise
leaves the list empty and you don't _really_ care all that much to
iterate an empty list in that case, but it doesn't really matter.

Acked-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux