vmxnet3: Replace msleep(1) with usleep_range()
authorYueHaibing <yuehaibing@huawei.com>
Thu, 17 May 2018 03:46:41 +0000 (11:46 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 May 2018 19:55:38 +0000 (15:55 -0400)
commit93c65d13d8a0b7c272868d4a9779f96fc973df26
tree186f864e6d0439909bf8117ffc7edb90c8d0d1d3
parent7e878b605f05bf0c09aa0d81e05fb7878bf8c7d4
vmxnet3: Replace msleep(1) with usleep_range()

As documented in Documentation/timers/timers-howto.txt,
replace msleep(1) with usleep_range().

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vmxnet3/vmxnet3_drv.c
drivers/net/vmxnet3/vmxnet3_ethtool.c