commit | eb649a614d3a2204825cc41f32a7ae79ff74da35 | [log] [tgz] |
---|---|---|
author | Daniel Vetter <daniel.vetter@ffwll.ch> | Sat Apr 05 10:10:51 2014 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Tue Apr 22 15:39:08 2014 +0200 |
tree | ce6ad8ad1256ff6e8848ecb53d45c82655445f08 | |
parent | 3d535eddf2b7fc93126aaf4e36c05fe751fb8c4b [diff] |
drm/ast: Remove unnecessary NULL check in bo_unref ttm_bo_unref unconditionally calls kref_put on it's argument, so the thing can't be NULL without already causing Oopses. Spotted by coverity. Reviewed-by: David Herrmann <dh.herrmann@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>