mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-07 08:25:39 +00:00
smartcard-channel-client: Remove unused parameter
"name" parameter of smartcard_channel_client_add_reader it's not used. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Victor Toso <victortoso@redhat.com>
This commit is contained in:
parent
6c5b7017ee
commit
33d81bc3fa
@ -219,8 +219,7 @@ static void smartcard_channel_client_push_error(RedChannelClient *rcc,
|
||||
red_channel_client_pipe_add_push(rcc, &error_item->base);
|
||||
}
|
||||
|
||||
static void smartcard_channel_client_add_reader(SmartCardChannelClient *scc,
|
||||
uint8_t *name)
|
||||
static void smartcard_channel_client_add_reader(SmartCardChannelClient *scc)
|
||||
{
|
||||
if (!scc->priv->smartcard) { /* we already tried to attach a reader to the client
|
||||
when it connected */
|
||||
@ -288,7 +287,7 @@ bool smartcard_channel_client_handle_message(RedChannelClient *rcc,
|
||||
spice_assert(size == vheader->length + sizeof(VSCMsgHeader));
|
||||
switch (vheader->type) {
|
||||
case VSC_ReaderAdd:
|
||||
smartcard_channel_client_add_reader(scc, msg + sizeof(VSCMsgHeader));
|
||||
smartcard_channel_client_add_reader(scc);
|
||||
return TRUE;
|
||||
break;
|
||||
case VSC_ReaderRemove:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user