greybus: connection: remove duplicate protocol lookup error message
authorJohan Hovold <johan@hovoldconsulting.com>
Tue, 13 Oct 2015 17:10:29 +0000 (19:10 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 14 Oct 2015 19:10:38 +0000 (12:10 -0700)
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>
drivers/staging/greybus/connection.c

index ca812f8a44f87c9d93d83db8b43d01aae5d43981..743ea67d022fb7fe7f1fbcc7fe5c7cde05d3b150 100644 (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: