From 7f0efa06795fea3f04578cf3016d393f9293cd4f Mon Sep 17 00:00:00 2001 From: Johan Hovold Date: Tue, 13 Oct 2015 19:10:29 +0200 Subject: [PATCH] greybus: connection: remove duplicate protocol lookup error message Remove duplicate protocol lookup error message, which has already been logged. Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/connection.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/staging/greybus/connection.c b/drivers/staging/greybus/connection.c index ca812f8a44f8..743ea67d022f 100644 --- a/drivers/staging/greybus/connection.c +++ b/drivers/staging/greybus/connection.c @@ -247,10 +247,6 @@ gb_connection_create_range(struct greybus_host_device *hd, return NULL; } - if (!connection->protocol) - dev_warn(&connection->dev, - "protocol 0x%02hhx handler not found\n", protocol_id); - return connection; err_free_connection: -- 2.20.1