mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
cleanup useless return sentence
This patch cleans up return sentences in the end of void functions. Reported-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Amos Kong <akong@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
This commit is contained in:
parent
58455eb9f2
commit
4d5b97da35
41 changed files with 0 additions and 67 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