Commit 927fc4a0 authored by Jani Nikula's avatar Jani Nikula
Browse files

drm/i915/gem: drop unused but set variable unpinned

parent b3343230
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -736,7 +736,6 @@ static int eb_reserve(struct i915_execbuffer *eb)
	struct eb_vma *ev;
	unsigned int pass;
	int err = 0;
	bool unpinned;

	/*
	 * We have one more buffers that we couldn't bind, which could be due to
@@ -776,7 +775,7 @@ static int eb_reserve(struct i915_execbuffer *eb)
			pin_flags |= PIN_NONBLOCK;

		if (pass >= 1)
			unpinned = eb_unbind(eb, pass >= 2);
			eb_unbind(eb, pass >= 2);

		if (pass == 2) {
			err = mutex_lock_interruptible(&eb->context->vm->mutex);