}
list_for_each_entry_safe(q, q_tmp, &msg_list, entry) {
- ret = kdbus_queue_entry_move(conn_src, conn_dst, q);
+ ret = kdbus_queue_entry_move(conn_dst, q);
if (ret < 0)
break;
}
/**
* kdbus_queue_entry_move() - move an entry from one queue to another
- * @conn_src: Connection holding the queue to copy from
* @conn_dst: Connection holding the queue to copy to
* @entry: The queue entry to move
*
* Return: 0 on success, nagative error otherwise
*/
-int kdbus_queue_entry_move(struct kdbus_conn *conn_src,
- struct kdbus_conn *conn_dst,
+int kdbus_queue_entry_move(struct kdbus_conn *conn_dst,
struct kdbus_queue_entry *entry)
{
int ret = 0;
struct kdbus_queue_entry *
kdbus_queue_entry_alloc(struct kdbus_pool *pool,
const struct kdbus_kmsg *kmsg);
-int kdbus_queue_entry_move(struct kdbus_conn *conn_src,
- struct kdbus_conn *conn_dst,
+int kdbus_queue_entry_move(struct kdbus_conn *conn_dst,
struct kdbus_queue_entry *entry);
void kdbus_queue_entry_free(struct kdbus_queue_entry *entry);