lkml.org 
[lkml]   [2019]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH net-next 2/2] bridge: implement get_link_ksettings ethtool method
From
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Sat, 9 Nov 2019 18:54:14 +0100

> + if (cmd->base.speed == (__u32)SPEED_UNKNOWN ||
> + cmd->base.speed < ecmd.base.speed) {
> + cmd->base.speed = ecmd.base.speed;
> + }

Curly braces are unnecessary for single line statements, so please remove.

\
 
 \ /
  Last update: 2019-11-12 21:13    [W:0.064 / U:0.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site