Search Linux Wireless

Re: [PATCH] mac80211: make ieee802_11_parse_elems return void

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

 



On Wed, 2007-10-17 at 10:04 -0400, John W. Linville wrote:
> On Wed, Oct 17, 2007 at 10:15:11AM +0200, Johannes Berg wrote:
> > On Tue, 2007-10-16 at 22:38 -0400, John W. Linville wrote:
> > 
> > Looks good to me, but
> > 
> > > -	/* Do not trigger error if left == 1 as Apple Airport base stations
> > > -	 * send AssocResps that are one spurious byte too long. */
> > > -
> > > -	return unknown ? ParseUnknown : ParseOK;
> > > +	return;
> > 
> > huh?
> 
> You don't like the bare return at the end?  Or are you questioning
> something else?

Bare return at the end of a void functions seems.. pointless.

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