summaryrefslogtreecommitdiff
path: root/recipes-bsp/multitech/mts-io
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2019-01-24 17:14:43 -0600
committerJohn Klug <john.klug@multitech.com>2019-07-03 11:22:01 -0500
commitefbae09b0364c6c5e7957d0f075722b57cdf95af (patch)
treec99e5687dd227560c804f4b3a69d2a8103f169f2 /recipes-bsp/multitech/mts-io
parent5735c03eae5a3b6a2a6f7aaef3a16561012e4fad (diff)
downloadmeta-multitech-efbae09b0364c6c5e7957d0f075722b57cdf95af.tar.gz
meta-multitech-efbae09b0364c6c5e7957d0f075722b57cdf95af.tar.bz2
meta-multitech-efbae09b0364c6c5e7957d0f075722b57cdf95af.zip
Remove unused code that produces errors in mts-io init script.
Diffstat (limited to 'recipes-bsp/multitech/mts-io')
-rw-r--r--recipes-bsp/multitech/mts-io/mts-io.init10
1 files changed, 0 insertions, 10 deletions
diff --git a/recipes-bsp/multitech/mts-io/mts-io.init b/recipes-bsp/multitech/mts-io/mts-io.init
index 4c2aedf..42bf457 100644
--- a/recipes-bsp/multitech/mts-io/mts-io.init
+++ b/recipes-bsp/multitech/mts-io/mts-io.init
@@ -13,16 +13,6 @@
i2c=/sys/bus/i2c/devices/
-eepromap1=${i2c}/1-0050/eeprom
-eepromap2=${i2c}/1-0052/eeprom
-eeprom=${i2c}/0-0056/eeprom
-
-# Hardware versions
-hwver_ap1=$(mts-id-eeprom --in-file $eepromap1 --accessory-card | grep '^hw-version:' | sed -e 's/^hw-version: *"//' -e 's/"//')
-hwver_ap2=$(mts-id-eeprom --in-file $eepromap2 --accessory-card | grep '^hw-version:' | sed -e 's/^hw-version: *"//' -e 's/"//')
-hwver=$(mts-id-eeprom --in-file $eeprom --accessory-card | grep '^hw-version:' | sed -e 's/^hw-version: *"//' -e 's/"//')
-
-
((fail=0))
# To log debug, set LOGDBG to /usr/bin/LOGGER
if ((DEBUG)) ; then