提交 c5b71fc7 编写于 作者: K K. Y. Srinivasan 提交者: Greg Kroah-Hartman

Staging: hv: mousevsc: Get rid of the unused state: num_outstanding_req

Get rid of the unused state: num_outstanding_req in struct mousevsc_dev.
Signed-off-by: NK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: NHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 ea8646b9
......@@ -157,7 +157,6 @@ struct mousevsc_dev {
struct hv_device *device;
/* 0 indicates the device is being destroyed */
atomic_t ref_count;
int num_outstanding_req;
unsigned char init_complete;
struct mousevsc_prt_msg protocol_req;
struct mousevsc_prt_msg protocol_resp;
......@@ -729,8 +728,6 @@ static int mousevsc_on_device_remove(struct hv_device *device)
*
* so that outstanding requests can be completed.
*/
while (input_dev->num_outstanding_req)
udelay(100);
input_dev = final_release_input_device(device);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部