greybus: connection: drop the connection_mutex
authorJohan Hovold <johan@hovoldconsulting.com>
Tue, 19 Jan 2016 11:51:24 +0000 (12:51 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 19 Jan 2016 20:17:13 +0000 (12:17 -0800)
commitc6d64a19cdb39680460ab9f153e33843aa8c825c
tree5c90cbe230a28da1c5a1d18b680fd5dcdfff0d3b
parentc3681f6c92df6c4ec834fc8e3fa1905e73952630
greybus: connection: drop the connection_mutex

Drop the useless connection_mutex that did not, and can not be used to
prevent connection lookup races in atomic context and therefore serves
no purpose.

Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/connection.c