[v2,07/17] drivers/firmware/sdei: Remove Drop redundant error message in sdei_probe()
diff mbox series

Message ID 20200722095740.28560-8-gshan@redhat.com
State New
Headers show
  • Refactor SDEI client driver
Related show

Commit Message

Gavin Shan July 22, 2020, 9:57 a.m. UTC
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>
v2: Remove changes to reorder variables
 drivers/firmware/arm_sdei.c | 2 --
 1 file changed, 2 deletions(-)

diff mbox series

diff --git a/drivers/firmware/arm_sdei.c b/drivers/firmware/arm_sdei.c
index 240c06ae7bfe..03b1179da9b4 100644
--- a/drivers/firmware/arm_sdei.c
+++ b/drivers/firmware/arm_sdei.c
@@ -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);