Skip to content

Commit

Permalink
staging: unisys: visorbus: remove unnecessary poll_count logic
Browse files Browse the repository at this point in the history
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: Tim Sell <Timothy.Sell@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Tim Sell authored and Greg Kroah-Hartman committed Mar 31, 2016
1 parent 899e1a3 commit 1f2f03c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions drivers/staging/unisys/visorbus/visorchipset.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 1f2f03c

Please sign in to comment.