From e71e70bd9d9c3abf675e9a7a8cd325501b077df1 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Fri, 12 Jun 2020 17:50:11 +0200 Subject: [PATCH] minor --- armsrc/i2c.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/armsrc/i2c.c b/armsrc/i2c.c index 7e7ba4605..82b4fdb10 100644 --- a/armsrc/i2c.c +++ b/armsrc/i2c.c @@ -626,9 +626,8 @@ int I2C_get_version(uint8_t *maj, uint8_t *min) { *maj = resp[0]; *min = resp[1]; return PM3_SUCCESS; - } else { - return PM3_EDEVNOTSUPP; } + return PM3_EDEVNOTSUPP; } // Will read response from smart card module, retries 3 times to get the data.