diff options
| author | 2010-10-29 10:41:23 +0100 | |
|---|---|---|
| committer | 2010-10-29 10:54:29 +0100 | |
| commit | 7465378fd7c681f6cf2b74b3494c4f0991d8c8ac (patch) | |
| tree | fb6266fb46cf3407792b361add7df31cb13588b5 /include/linux/debugobjects.h | |
| parent | drm/i915: Do not return -1 from shrinker when nr_to_scan == 0 (diff) | |
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: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
