diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-04-05 12:06:16 +0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-04-22 17:39:04 +0400 |
commit | 4cb8802e28c14a4b34827154ab1537bbde796cc2 (patch) | |
tree | 567a6366c12ae3ca6de46e2e6c01c4589483bb19 /security/Makefile | |
parent | 36b347fb31e74075315a782809007b9192c486ea (diff) | |
download | linux-4cb8802e28c14a4b34827154ab1537bbde796cc2.tar.xz |
drm/mgag200: Remove unecessary NULL check in gem_free
The ->gem_free_object never gets called with a NULL pointer, the check
is redundant. Also checking after the upcast allows compilers to elide
it anyway.
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>
Diffstat (limited to 'security/Makefile')
0 files changed, 0 insertions, 0 deletions