staging: octeon: cleanup unnecessary parentheses in ethernet-spmi.c
checkpatch.pl reported issue of unnecessary parentheses for the expression. It has been removed to fix the report. Signed-off-by: Shreesh Adiga <16567adigashreesh@gmail.com> Link: https://lore.kernel.org/r/20210219170737.1138083-1-16567adigashreesh@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
06b51f4bd5
commit
6c231d8e15
@@ -202,7 +202,7 @@ int cvm_oct_spi_init(struct net_device *dev)
|
|||||||
}
|
}
|
||||||
number_spi_ports++;
|
number_spi_ports++;
|
||||||
|
|
||||||
if ((priv->port == 0) || (priv->port == 16)) {
|
if (priv->port == 0 || priv->port == 16) {
|
||||||
cvm_oct_spi_enable_error_reporting(INTERFACE(priv->port));
|
cvm_oct_spi_enable_error_reporting(INTERFACE(priv->port));
|
||||||
priv->poll = cvm_oct_spi_poll;
|
priv->poll = cvm_oct_spi_poll;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user