summaryrefslogtreecommitdiff
path: root/io-module/mts_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io-module/mts_io.c')
-rw-r--r--io-module/mts_io.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/io-module/mts_io.c b/io-module/mts_io.c
index c8763c4..5a30e2e 100644
--- a/io-module/mts_io.c
+++ b/io-module/mts_io.c
@@ -3608,12 +3608,6 @@ static int __init mts_io_init(void)
log_info("init: " DRIVER_VERSION);
-#ifdef MTOCGD2
- log_info("MTOCGD2 defined");
-#else
- log_info("MTOCGD2 undefined");
-#endif
-
ret = mts_id_eeprom_load();
if (ret) {
goto error1;
@@ -3627,10 +3621,7 @@ static int __init mts_io_init(void)
log_error("error reading daughter card eeprom: %d", ret);
log_error("unable to initialize daughter card");
goto error1;
- } else if (! has_daughter_card) {
- /* boolean flag wasn't set, no card */
- log_info("no daughter card is inserted");
- } else {
+ } else if (has_daughter_card) {
/* no error and we have a daughter card */
if (strstr(dc_eeprom.product_id, PRODUCT_ID_MTDC_GPIOB)) {
mts_dc_product_id = MTDC_GPIOB_0_0;