提交 1f2f03c2 编写于 作者: T Tim Sell 提交者: Greg Kroah-Hartman

staging: unisys: visorbus: remove unnecessary poll_count logic

The use of poll_count is a vestige from long-ago testing, which is no
longer needed.  It is removed by this patch.
Signed-off-by: NTim Sell <Timothy.Sell@unisys.com>
Signed-off-by: NDavid Kershner <david.kershner@unisys.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 899e1a31
......@@ -1868,18 +1868,11 @@ controlvm_periodic_work(struct work_struct *work)
struct controlvm_message inmsg;
bool got_command = false;
bool handle_command_failed = false;
static u64 poll_count;
/* make sure visorbus server is registered for controlvm callbacks */
if (visorchipset_visorbusregwait && !visorbusregistered)
goto cleanup;
poll_count++;
if (poll_count >= 250)
; /* keep going */
else
goto cleanup;
/* Check events to determine if response to CHIPSET_READY
* should be sent
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册