]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
video: tegra: host: remove redundant NULL check
authorShridhar Rasal <srasal@nvidia.com>
Thu, 16 Jan 2014 15:32:13 +0000 (21:02 +0530)
committerTerje Bergstrom <tbergstrom@nvidia.com>
Tue, 28 Jan 2014 06:57:23 +0000 (22:57 -0800)
commit8aa71820123c27dfdb8f0b692e8186146cec2f70
treeae3fca5e4ba6dd6667fb3af6536c167c0cddfa3d
parenta18142a04767fa71a0977171a348ca8cce7dc3fb
video: tegra: host: remove redundant NULL check

It is redundant here to check if zcull_info is NULL, so remove check.
Found this with static analysis tool.

Change-Id: Ic9570b6857fe37a307fe5e6f90ab6a7195d68447
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/356580
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
drivers/video/tegra/host/gk20a/ctrl_gk20a.c