diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-08-15 00:02:43 +0200 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-21 19:12:24 +0900 |
commit | e091ad0f24a0146820ab758a17f5915fec0ea747 (patch) | |
tree | b384b0d8b7569305ebfc6950eef513b6f09af386 /mm/page_cgroup.c | |
parent | 9c6b5ed8e6b674b076c9d500e81ce6e45a88da56 (diff) | |
download | linux-3.10-e091ad0f24a0146820ab758a17f5915fec0ea747.tar.gz linux-3.10-e091ad0f24a0146820ab758a17f5915fec0ea747.tar.bz2 linux-3.10-e091ad0f24a0146820ab758a17f5915fec0ea747.zip |
drm/prime: clarify logic a bit in drm_gem_prime_fd_to_handle
if (!ret) implies that ret == 0, so no need to clear it again. And
explicitly check for ret == 0 to indicate that we're checking an errno
integer.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'mm/page_cgroup.c')
0 files changed, 0 insertions, 0 deletions