Re: Question regarding strange-looking code in drivers/isdn/i4l/isdn_ppp.c

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

 



On Mon, Feb 2, 2015 at 11:35 AM, Greg KH <greg@xxxxxxxxx> wrote:
> The braces afterward is for the new variable scope, it's odd looking
> yes, but correct code and formatting.

Specifically, without the braces there'd be a compile error at the
declaration of the pkt_len and skb_old variables.

Henry

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux