forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
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;