From 3ce4a67d4b55dcd9d37ffcfc0ff6d680012dee01 Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Tue, 7 Jun 2011 17:39:45 +0200 Subject: nfctype2: No need to be that verbose --- plugins/nfctype2.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'plugins') diff --git a/plugins/nfctype2.c b/plugins/nfctype2.c index efdbc8e..767d928 100644 --- a/plugins/nfctype2.c +++ b/plugins/nfctype2.c @@ -122,14 +122,10 @@ static uint8_t *tlv_data(uint8_t *data) static int data_parse(struct near_tag *tag, uint8_t *data, uint16_t length) { - uint8_t *tlv = data; - uint8_t t, i; + uint8_t *tlv = data, t; DBG(""); - for (i = 0; i < length; i++) - DBG("data[%d] 0x%x", i, tlv[i]); - while(1) { t = tlv[0]; -- cgit v1.2.3