Searched hist:eb649a61 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/gpu/drm/ast/ |
H A D | ast_main.c | eb649a61 Sat Apr 05 03:10:51 CDT 2014 Daniel Vetter <daniel.vetter@ffwll.ch> 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> eb649a61 Sat Apr 05 03:10:51 CDT 2014 Daniel Vetter <daniel.vetter@ffwll.ch> 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>
|