diff options
author | Johan Hovold <johan@hovoldconsulting.com> | 2015-10-13 19:10:22 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-10-14 12:01:15 -0700 |
commit | ff65e20ee534a5720bacd0b4058458e234ec51d6 (patch) | |
tree | 69d315cd4e1e9e901062e87c27c54eb2e9315c05 | |
parent | aae5a44ff5a22c3c3398e68c89a4513c75725fd7 (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>
-rw-r--r-- | drivers/staging/greybus/operation.c | 2 |
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); |