For outbound transactions, the IDR's and the callback's references now
have exactly the same lifetime, so we do not need both of them.
Signed-off-by: Clemens Ladisch <[email protected]>
Signed-off-by: "Stefan Richter" <[email protected]>
/* Drop the idr's reference */
client_put(client);
- /* Drop the transaction callback's reference */
- client_put(client);
}
static int init_request(struct client *client,
if (ret < 0)
goto failed;
- /* Get a reference for the transaction callback */
- client_get(client);
-
fw_send_request(client->device->card, &e->r.transaction,
request->tcode, destination_id, request->generation,
speed, request->offset, e->response.data,