removing unused variable dev in mhost_init