From: Johan Hovold Date: Tue, 13 Oct 2015 17:10:29 +0000 (+0200) Subject: greybus: connection: remove duplicate protocol lookup error message X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7f0efa06795fea3f04578cf3016d393f9293cd4f;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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: