int i;
        int ret = 0;
 
-       /* Need to access d->adapter[0] */
-       if (d->num_adapters_initialized != 1) {
-               deb_rc("Impossible happened!\n");
-               return -EINVAL;
-       }
-
        if (mutex_lock_interruptible(&d->i2c_mutex) < 0)
                return -EAGAIN;
 
 {
        deb_rc("megasky_frontend_attach!\n");
 
-       if ((adap->fe = dvb_attach(mt352_attach, &megasky_mt352_config, &adap->dev->i2c_adap)) != NULL) {
+       if ((adap->fe = dvb_attach(mt352_attach, &megasky_mt352_config, &adap->dev->i2c_adap)) != NULL)
                return 0;
-       }
        return -EIO;
 }
 
        }},
        .i2c_algo         = &m9206_i2c_algo,
 
-       .generic_bulk_ctrl_endpoint = 0x01,
-
        .num_device_descs = 1,
        .devices = {
                {   "MSI Mega Sky 580 DVB-T USB2.0",