diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-01-19 18:45:02 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-01-26 13:53:06 -0500 |
commit | a2d7dfdfb46d8beeedfd06f780644233c38e8153 (patch) | |
tree | 2d0f902131cbe603c9e3170aa258ea81eb824863 /drivers/gpu/nvgpu/gp10b/gp10b.c | |
parent | 52ecd593c2fca21bd9d7e88f85267db10b88ceb5 (diff) |
gpu: nvgpu: Skip checking for null in error path
vfe_var_construct_single_sensed_fuse() first constructs boardobj and
then does further validity checks. If the checks fail, it calls exit
label. The exit label checks if boardobj is NULL and calls destructor
if it is.
As there is no path to get to exit label with boardobj NULL, skip
the check.
Coverity ID 2011368
Change-Id: Ifea931113a7b862830b4b3f9852d9c16310a1549
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1291685
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/gp10b.c')
0 files changed, 0 insertions, 0 deletions