forked from Minki/linux
Staging:octeon:removed blank line after {
Removed blank line after curly braces. Found using checkpatch.pl. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
edb0d9d4a3
commit
a6fccdb507
@ -247,9 +247,7 @@ int cvm_oct_rgmii_init(struct net_device *dev)
|
|||||||
if (((priv->imode == CVMX_HELPER_INTERFACE_MODE_GMII)
|
if (((priv->imode == CVMX_HELPER_INTERFACE_MODE_GMII)
|
||||||
&& (priv->port == 0))
|
&& (priv->port == 0))
|
||||||
|| (priv->imode == CVMX_HELPER_INTERFACE_MODE_RGMII)) {
|
|| (priv->imode == CVMX_HELPER_INTERFACE_MODE_RGMII)) {
|
||||||
|
|
||||||
if (!octeon_is_simulation()) {
|
if (!octeon_is_simulation()) {
|
||||||
|
|
||||||
union cvmx_gmxx_rxx_int_en gmx_rx_int_en;
|
union cvmx_gmxx_rxx_int_en gmx_rx_int_en;
|
||||||
int interface = INTERFACE(priv->port);
|
int interface = INTERFACE(priv->port);
|
||||||
int index = INDEX(priv->port);
|
int index = INDEX(priv->port);
|
||||||
@ -283,9 +281,7 @@ void cvm_oct_rgmii_uninit(struct net_device *dev)
|
|||||||
if (((priv->imode == CVMX_HELPER_INTERFACE_MODE_GMII)
|
if (((priv->imode == CVMX_HELPER_INTERFACE_MODE_GMII)
|
||||||
&& (priv->port == 0))
|
&& (priv->port == 0))
|
||||||
|| (priv->imode == CVMX_HELPER_INTERFACE_MODE_RGMII)) {
|
|| (priv->imode == CVMX_HELPER_INTERFACE_MODE_RGMII)) {
|
||||||
|
|
||||||
if (!octeon_is_simulation()) {
|
if (!octeon_is_simulation()) {
|
||||||
|
|
||||||
union cvmx_gmxx_rxx_int_en gmx_rx_int_en;
|
union cvmx_gmxx_rxx_int_en gmx_rx_int_en;
|
||||||
int interface = INTERFACE(priv->port);
|
int interface = INTERFACE(priv->port);
|
||||||
int index = INDEX(priv->port);
|
int index = INDEX(priv->port);
|
||||||
|
Loading…
Reference in New Issue
Block a user