greybus: kill gbuf->kref
authorAlex Elder <elder@linaro.org>
Tue, 18 Nov 2014 00:08:29 +0000 (18:08 -0600)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 18 Nov 2014 01:19:20 +0000 (17:19 -0800)
commit2f528c8bf7199c5eba93ea344a502910dc3a2806
treed136b34d411407e8ab142cb680a3b36ae1b3be03
parent6e5dd0bbbb046df2b6a5ba72d74b611c1f15f467
greybus: kill gbuf->kref

Since there is only ever one reference to a gbuf, we don't need a
kref to figure out when it can be freed.  Get rid of the kref and
its supporting code.

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