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

Henry Hallam henry at pericynthion.org
Mon Feb 2 15:14:37 EST 2015


On Mon, Feb 2, 2015 at 11:35 AM, Greg KH <greg at kroah.com> 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



More information about the Kernelnewbies mailing list