firmware: arm_sdei: Remove redundant error message in sdei_probe()
This removes the redundant error message in sdei_probe() because the case can be identified from the errno in next error message. Signed-off-by: Gavin Shan <gshan@redhat.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Acked-by: James Morse <james.morse@arm.com> Link: https://lore.kernel.org/r/20200922130423.10173-8-gshan@redhat.com Signed-off-by: Will Deacon <will@kernel.org>
This commit is contained in:
Родитель
bc110fd322
Коммит
101119a35c
|
@ -982,8 +982,6 @@ static int sdei_probe(struct platform_device *pdev)
|
|||
return 0;
|
||||
|
||||
err = sdei_api_get_version(&ver);
|
||||
if (err == -EOPNOTSUPP)
|
||||
pr_err("advertised but not implemented in platform firmware\n");
|
||||
if (err) {
|
||||
pr_err("Failed to get SDEI version: %d\n", err);
|
||||
sdei_mark_interface_broken();
|
||||
|
|
Загрузка…
Ссылка в новой задаче