OSDN Git Service

greybus: operation: clean up create-incoming error path
authorJohan Hovold <johan@hovoldconsulting.com>
Tue, 14 Jul 2015 13:43:24 +0000 (15:43 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 15 Jul 2015 19:39:13 +0000 (12:39 -0700)
commit9a586bd2bb80a268345cc8ccfa702413359ece06
tree536e2c6dabd59b02397fb895ac30514c063eb16c
parentfffc151381473384629d78cb89b7f7bbb9dc53b0
greybus: operation: clean up create-incoming error path

Clean up gb_operation_create_incoming error path by returning
immediately on allocation failures.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/operation.c