mirror of https://gitee.com/openkylin/linux.git
drm/nouveau/core: drop error message when no compatible FW found
This is less than useful with some subdevs having _nofw variants in their FWIF lists - it's cleaner to handle them all in the same way. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
b9f327f1af
commit
8140f92c27
|
@ -45,11 +45,8 @@ int nvkm_firmware_load_name(const struct nvkm_subdev *subdev, const char *path,
|
|||
} \
|
||||
} \
|
||||
\
|
||||
if (_ret) { \
|
||||
nvkm_error(_s, "failed to load firmware\n"); \
|
||||
if (_ret) \
|
||||
_fwif = ERR_PTR(_ret); \
|
||||
} \
|
||||
\
|
||||
_fwif; \
|
||||
})
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue