greybus: connection: remove duplicate protocol lookup error message

Remove duplicate protocol lookup error message, which has already been
logged.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Johan Hovold 2015-10-13 19:10:29 +02:00 committed by Greg Kroah-Hartman
parent 9942fc8b14
commit 7f0efa0679

View File

@ -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: