forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 093a6c67005148ae32a5c9e4553491b9f5c2457b
kernel/drivers/gpu/drm/nouveau/nvkm/core/memory.c
....@@ -140,7 +140,7 @@
140140 {
141141 struct nvkm_instmem *imem = device->imem;
142142 struct nvkm_memory *memory;
143
- int ret = -ENOSYS;
143
+ int ret;
144144
145145 if (unlikely(target != NVKM_MEM_TARGET_INST || !imem))
146146 return -ENOSYS;