greybus: svc: No need to return errors from [gb_]svc_connection_destroy()
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 31 Aug 2015 11:51:05 +0000 (17:21 +0530)
committerJohan Hovold <johan@hovoldconsulting.com>
Thu, 3 Sep 2015 12:33:37 +0000 (14:33 +0200)
commitd9fcffff2c5442225cec21f55e74fb752e67e57f
treea329e9ba7766b3019705f932fbdffa313b097f4f
parentb701686a3e6739bc8bd94fba13809e25a4ce1bd3
greybus: svc: No need to return errors from [gb_]svc_connection_destroy()

These routines are responsible to destroy a connection that is going
away, the return value is of no use. At best, print an error message to
show that we got an error.

Make their return type void.

Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
drivers/staging/greybus/svc.c
drivers/staging/greybus/svc.h