Skip to content
Commit b5d8f052 authored by Cong Ding's avatar Cong Ding Committed by Ben Skeggs
Browse files

drm/nouveau: remove unnecessary null pointer check from nouveau_fence_new



the variable chan is dereferenced in line 190, so it is no reason to check
null again in line 198.

Signed-off-by: default avatarCong Ding <dinggnu@gmail.com>
Signed-off-by: default avatarMarcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent fd69aee4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment