Skip to content
Commit 7465378f authored by Chris Wilson's avatar Chris Wilson
Browse files

drm/i915: Convert BUG_ON(pin_count) from an impossible condition



Also spotted by Dan Carpenter.

obj->pin_count is unsigned so the BUG_ON(obj->pin_count<0) will never
trigger.

Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent bbe2e11a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment