drm/vmwgfx: Fix an uninitialized value

Reported by Intel's kbuild robot.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
Thomas Hellstrom 2015-08-04 15:37:16 +02:00
parent 2e3cc8cff6
commit 6a5278ee34
1 changed files with 1 additions and 1 deletions

View File

@ -507,7 +507,7 @@ static void vmw_cmdbuf_work_func(struct work_struct *work)
struct vmw_cmdbuf_man *man =
container_of(work, struct vmw_cmdbuf_man, work);
struct vmw_cmdbuf_header *entry, *next;
bool restart;
bool restart = false;
spin_lock_bh(&man->lock);
list_for_each_entry_safe(entry, next, &man->error, list) {