diff options
author | Chih-Wei Huang <cwhuang@linux.org.tw> | 2016-07-11 19:37:18 +0800 |
---|---|---|
committer | Chih-Wei Huang <cwhuang@linux.org.tw> | 2016-07-11 19:56:50 +0800 |
commit | c6a6d36255eb6f835e7d6e1c2e2ab4c8ffa9d143 (patch) | |
tree | 726e985fd4282505d57fdcc095eac6ad9b811134 /gralloc_drm_handle.h | |
parent | a9d0cbf474511070c13990b1a1ba7a22bba62b8e (diff) | |
download | external_drm_gralloc-c6a6d36255eb6f835e7d6e1c2e2ab4c8ffa9d143.zip external_drm_gralloc-c6a6d36255eb6f835e7d6e1c2e2ab4c8ffa9d143.tar.gz external_drm_gralloc-c6a6d36255eb6f835e7d6e1c2e2ab4c8ffa9d143.tar.bz2 |
gralloc_drm: show the unsupported error if drv is null
The unsupported driver message was suppressed by a subtle bug
of commit cbf96c0d which treats the latest checking as an else
case. Remove the unnecessary else.
Besides, logically on entering ENABLE_PIPE snippet, drv is
always null. No need to check it.
Diffstat (limited to 'gralloc_drm_handle.h')
0 files changed, 0 insertions, 0 deletions