greybus: get rid of greybus_gbuf_finished()
authorAlex Elder <elder@linaro.org>
Thu, 6 Nov 2014 13:01:04 +0000 (07:01 -0600)
committerGreg Kroah-Hartman <greg@kroah.com>
Thu, 6 Nov 2014 16:03:35 +0000 (08:03 -0800)
commiteecf6deb578a250fc3336286a0759281569966ec
tree5f858ff067bcd1757ed258a1db35e560e8315b9c
parenta77b06809b9214e23e603248d7609d6efa55f833
greybus: get rid of greybus_gbuf_finished()

All greybus_gbuf_finished() does is call the gbuf's complete method.
Currently, greybus_gbuf_finished() is only ever called in one place,
and that place can call the complete method directly instead.  That
allows us to eliminate greybus_gbuf_finished().

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/gbuf.c
drivers/staging/greybus/greybus.h
drivers/staging/greybus/operation.c