]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3bc98f3aca2cb0867f85e9444191efdfc8053b12
tree7445227f5cfbbe82cadf437f201efb73043e645e
parent339ff24571a795139d98a1f21acf29d64f697afd
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