mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +03:00
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:
committed by
mobile promotions
parent
40669da3b2
commit
c4ac6bb410
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user