diff options
author | Amos Kong <akong@redhat.com> | 2012-09-29 13:36:21 +0800 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@gmail.com> | 2012-10-05 15:10:21 +0200 |
commit | 4d5b97da35ecbfdad6fe1cbe7fdd7d71ef735602 (patch) | |
tree | ee0e196c5bc3d4cb7702ff55c5bf7464c86a8783 /libcacard/vcard_emul_nss.c | |
parent | 58455eb9f2865d54c8bf208805f7a4c217b5c00d (diff) |
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>
Diffstat (limited to 'libcacard/vcard_emul_nss.c')
-rw-r--r-- | libcacard/vcard_emul_nss.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libcacard/vcard_emul_nss.c b/libcacard/vcard_emul_nss.c index 802cae3a29..b861c5afcc 100644 --- a/libcacard/vcard_emul_nss.c +++ b/libcacard/vcard_emul_nss.c @@ -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; } /* |