gpu: nvgpu: don't check for null ch info in stat dump

The channel dump info is always provided by the caller, so this null
check is unnecessary.

Jira NVGPU-886

Change-Id: Ie7b125a6d5b2940a94da3f87a34ac079384722de
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1933491
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Konsta Holtta
2018-10-23 11:22:32 +03:00
committed by mobile promotions
parent 40669da3b2
commit c4ac6bb410
2 changed files with 0 additions and 8 deletions

View File

@@ -4106,10 +4106,6 @@ void gk20a_dump_channel_status_ramfc(struct gk20a *g,
u32 status;
u32 syncpointa, syncpointb;
if (info == NULL) {
return;
}
status = ccsr_channel_status_v(info->channel_reg);
syncpointa = info->inst.syncpointa;