Files
linux-nvgpu/drivers/gpu/nvgpu/perf
Terje Bergstrom a2d7dfdfb4 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
2017-01-26 10:53:06 -08:00
..
2016-12-27 15:26:49 +05:30
2016-12-27 15:26:49 +05:30