summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/operation.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@hovoldconsulting.com>2015-10-13 19:10:22 +0200
committerGreg Kroah-Hartman <gregkh@google.com>2015-10-14 12:01:15 -0700
commitff65e20ee534a5720bacd0b4058458e234ec51d6 (patch)
tree69d315cd4e1e9e901062e87c27c54eb2e9315c05 /drivers/staging/greybus/operation.c
parentaae5a44ff5a22c3c3398e68c89a4513c75725fd7 (diff)
greybus: operation: drop OOM-response FIXME
Drop FIXME about sending responses in OOM situations. If we fail to allocate an operation for an incoming request, we have bigger problems than to worry about sending a response. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/operation.c')
-rw-r--r--drivers/staging/greybus/operation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/operation.c b/drivers/staging/greybus/operation.c
index fae6ee9071df..969309e5d4d1 100644
--- a/drivers/staging/greybus/operation.c
+++ b/drivers/staging/greybus/operation.c
@@ -828,7 +828,7 @@ static void gb_connection_recv_request(struct gb_connection *connection,
type, data, size);
if (!operation) {
dev_err(&connection->dev, "can't create operation\n");
- return; /* XXX Respond with pre-allocated ENOMEM */
+ return;
}
ret = gb_operation_get_active(operation);