Home
last modified time | relevance | path

Searched hist:"6 dff5add089f2cedd597937a3e39a01ebba8b7c8" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/usb/
H A Dpegasus.cdiff 6dff5add089f2cedd597937a3e39a01ebba8b7c8 Fri Jul 27 03:36:29 CDT 2018 Jia-Ju Bai <baijiaju1990@gmail.com> net: usb: pegasus: Replace mdelay() with msleep() in setup_pegasus_II()

setup_pegasus_II() is never called in atomic context.
It calls mdelay() to busily wait, which is not necessary.
mdelay() can be replaced with msleep().

This is found by a static analysis tool named DCNS written by myself.

Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>