]> git.baikalelectronics.ru Git - kernel.git/commit
staging: octeon: remove braces from single-line block
authorPhillip Potter <phil@philpotter.co.uk>
Sat, 6 Feb 2021 20:17:01 +0000 (20:17 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Feb 2021 09:05:29 +0000 (10:05 +0100)
commitc6f22d3305987940dd31f842807ce0d2283d66e3
treeb420dc4d230eb54d43cbfee8da32a965529557dc
parent458751041dfe519c1ed8a117b1bc1cef27f1daf6
staging: octeon: remove braces from single-line block

This removes the braces from the if statement that checks the
physical node return value in cvm_oct_phy_setup_device, as this
block contains only one statement. Fixes a style warning.

Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
Link: https://lore.kernel.org/r/20210206201701.5273-1-phil@philpotter.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon/ethernet-mdio.c