greybus: connection: silence warning on unbound protocols

If a protocol was not successfully created, we can't drop the refcount
on it. This might happen for example if the connection fails to bind a
protocol.

Silences a warning on cleanup.

Signed-off-by: Perry Hung <perry@leaflabs.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Perry Hung 2015-07-24 19:02:30 -04:00 • committed by Greg Kroah-Hartman
commit 52fa38327b
2 changed files with 2 additions and 4 deletions