summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2008-05-24 13:10:22 +0000
committerlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2008-05-24 13:10:22 +0000
commit77fc8096e2303a22fe02998370d565d48e2babdf (patch)
tree4982a44aa8f048276307d5fb4614786ea61aa2eb
parentf05760f4053e2e77cbb922998d2b652176f93abd (diff)
remove extra reads of primary status register (Bjoern Riemer)
git-svn-id: https://svn.gnumonks.org/trunk/librfid@2103 e0336214-984f-0b4b-a45f-81c69e1f0ede
-rw-r--r--src/rfid_asic_rc632.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/rfid_asic_rc632.c b/src/rfid_asic_rc632.c
index 65a37b8..c93ba81 100644
--- a/src/rfid_asic_rc632.c
+++ b/src/rfid_asic_rc632.c
@@ -454,10 +454,6 @@ rc632_transceive(struct rfid_asic_handle *handle,
{ u_int8_t tmp;
rc632_reg_read(handle, RC632_REG_PRIMARY_STATUS, &tmp);
DEBUGP_STATUS_FLAG(tmp);
- rc632_reg_read(handle, RC632_REG_PRIMARY_STATUS, &tmp);
- DEBUGP_STATUS_FLAG(tmp);
- rc632_reg_read(handle, RC632_REG_PRIMARY_STATUS, &tmp);
- DEBUGP_STATUS_FLAG(tmp);
rc632_reg_read(handle, RC632_REG_ERROR_FLAG, &tmp);
DEBUGP_ERROR_FLAG(tmp);
}
personal git repositories of Harald Welte. Your mileage may vary