Commit 052d6017 authored by David S. Miller's avatar David S. Miller
Browse files

Merge branch 'hns-coding-style'



Guangbin Huang says:

====================
net: hns: clean up some code style issues

This patchset clean up some code style issues.
====================

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parents 0a14fd29 cb067269
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -462,8 +462,6 @@ static void hns_ae_adjust_link(struct hnae_handle *handle, int speed,
	default:
	default:
		break;
		break;
	}
	}

	return;
}
}


static void hns_ae_get_ring_bdnum_limit(struct hnae_queue *queue,
static void hns_ae_get_ring_bdnum_limit(struct hnae_queue *queue,
+1 −2
Original line number Original line Diff line number Diff line
@@ -914,8 +914,7 @@ static int hns_mac_get_info(struct hns_mac_cb *mac_cb)
		}
		}
	} else if (is_acpi_node(mac_cb->fw_port)) {
	} else if (is_acpi_node(mac_cb->fw_port)) {
		ret = hns_mac_register_phy(mac_cb);
		ret = hns_mac_register_phy(mac_cb);
		/*
		/* Mac can work well if there is phy or not.If the port don't
		 * Mac can work well if there is phy or not.If the port don't
		 * connect with phy, the return value will be ignored. Only
		 * connect with phy, the return value will be ignored. Only
		 * when there is phy but can't find mdio bus, the return value
		 * when there is phy but can't find mdio bus, the return value
		 * will be handled.
		 * will be handled.
+36 −36

File changed.

Contains only whitespace changes.