]> asedeno.scripts.mit.edu Git - linux.git/commit
greybus: remove gbuf->context
authorAlex Elder <elder@linaro.org>
Thu, 6 Nov 2014 13:01:03 +0000 (07:01 -0600)
committerGreg Kroah-Hartman <greg@kroah.com>
Thu, 6 Nov 2014 16:03:35 +0000 (08:03 -0800)
commita77b06809b9214e23e603248d7609d6efa55f833
treea87f9cc6240004497bd7f24d642aa63d75e37266
parentef45fa33a4c9b37440ef2e3af55843066c6149ce
greybus: remove gbuf->context

A gbuf now records a pointer to its operation.   The only thing ever
stored in a gbuf context pointer is the gbuf's operation.  Therefore
there's no longer any need to maintain the context pointer, so get
rid of it.

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