net: hns: Optimise the code in hns_mdio_wait_ready()
authorKejian Yan <yankejian@huawei.com>
Sat, 1 Apr 2017 11:03:44 +0000 (12:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Apr 2017 21:48:43 +0000 (14:48 -0700)
commitd592a4a4b9f2727efd8d7718bb5c9ae0d03614bd
tree7445227f5cfbbe82cadf437f201efb73043e645e
parent6961acfa5c2b34d421f8a48780efc1779cad73e4
net: hns: Optimise the code in hns_mdio_wait_ready()

This patch fixes the code to clear pclint warning/info.

Reported-by: Ping Zhang <zhangping5@huawei.com>
Signed-off-by: Kejian Yan <yankejian@huawei.com>
Reviewed-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns_mdio.c