[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181005.104606.97635572200071855.davem@davemloft.net>
Date: Fri, 05 Oct 2018 10:46:06 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: Igor.Russkikh@...antia.com
Cc: linux-usb@...r.kernel.org, netdev@...r.kernel.org,
Dmitry.Bezrukov@...antia.com
Subject: Re: [PATCH net-next 06/19] net: usb: aqc111: Introduce link
management
From: Igor Russkikh <Igor.Russkikh@...antia.com>
Date: Fri, 5 Oct 2018 10:24:55 +0000
> + switch (aqc111_data->link_speed) {
> + case AQ_INT_SPEED_5G:
> + {
> + link_speed = 5000;
> + reg8 = 0x05;
> + reg16 = 0x001F;
> + break;
> + }
Please do not put curly braces around switch cases.
You aren't declaring local scope variables in these case statements so
the curly braces are completely unnecessary and look ugly.
Powered by blists - more mailing lists