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>
This commit is contained in:
parent
aae5a44ff5
commit
ff65e20ee5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user