mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
Merge branch 'trivial-patches' of git://github.com/stefanha/qemu
* 'trivial-patches' of git://github.com/stefanha/qemu: versatilepb: Use symbolic indices for ARM PIC qdev: kill bogus comment qemu-barrier: Fix compiler version check for future gcc versions hw: Add missing 'static' attribute for QEMUMachine cleanup useless return sentence qemu-sockets: Fix compiler warning (regression for MinGW) vnc: Fix spelling (hellmen -> hellman) in comment slirp: Fix spelling in comment (enought -> enough, insure -> ensure) tcg/arm: Use tcg_out_mov_reg rather than inline equivalent code cpu: Add missing 'static' attribute to qemu_global_mutex configure: Support empty target list (--target-list=) hw: Fix return value check for bdrv_read, bdrv_write
This commit is contained in:
commit
048d3612a5
54 changed files with 56 additions and 111 deletions
|
@ -168,7 +168,6 @@ vcard_emul_delete_key(VCardKey *key)
|
|||
if (key->slot) {
|
||||
PK11_FreeSlot(key->slot);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -418,7 +417,6 @@ vcard_emul_reset(VCard *card, VCardPower power)
|
|||
/* TODO: we may also need to send insertion/removal events? */
|
||||
slot = vcard_emul_card_get_slot(card);
|
||||
PK11_Logout(slot); /* NOTE: ignoring SECStatus return value */
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
@ -535,7 +533,6 @@ vcard_emul_get_atr(VCard *card, unsigned char *atr, int *atr_len)
|
|||
|
||||
memcpy(atr, nss_atr, len);
|
||||
*atr_len = len;
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue