summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/connection.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@hovoldconsulting.com>2015-10-13 19:10:29 +0200
committerGreg Kroah-Hartman <gregkh@google.com>2015-10-14 12:10:38 -0700
commit7f0efa06795fea3f04578cf3016d393f9293cd4f (patch)
tree43b2b49069cdedbac458af9d3cac7d95557d1bd7 /drivers/staging/greybus/connection.c
parent9942fc8b14f21525622b85031b19c7ab5b16b339 (diff)
downloadlinux-stable-7f0efa06795fea3f04578cf3016d393f9293cd4f.tar.gz
linux-stable-7f0efa06795fea3f04578cf3016d393f9293cd4f.tar.bz2
linux-stable-7f0efa06795fea3f04578cf3016d393f9293cd4f.zip
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>
Diffstat (limited to 'drivers/staging/greybus/connection.c')
-rw-r--r--drivers/staging/greybus/connection.c4
1 files changed, 0 insertions, 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: