diff --git a/pycardium/modules/modbluetooth_card10.c b/pycardium/modules/modbluetooth_card10.c
index 66f86ef8a75f333bbf7ca1270f257486c317cbb2..c5dc5eaa231ec288d8f1e40838f04a1c4645e1c4 100644
--- a/pycardium/modules/modbluetooth_card10.c
+++ b/pycardium/modules/modbluetooth_card10.c
@@ -534,13 +534,6 @@ int mp_bluetooth_gatts_read(
 	return mp_bluetooth_gatts_db_read(
 		GATTS_DB, value_handle, value, value_len
 	);
-#if 0
-	uint16_t pLen;
-	uint8_t ret = AttsGetAttr(value_handle, &pLen, value);
-
-	*value_len = pLen;
-	return ret;
-#endif
 }
 // Write a value to the local gatts db (ready to be queried by a central).
 int mp_bluetooth_gatts_write(