ctrl_complete(struct urb *urb)
 {
        hfcusb_data *hfc = (hfcusb_data *) urb->context;
-       ctrl_buft *buf;
 
        urb->dev = hfc->dev;
        if (hfc->ctrl_cnt) {
-               buf = &hfc->ctrl_buff[hfc->ctrl_out_idx];
                hfc->ctrl_cnt--;        /* decrement actual count */
                if (++hfc->ctrl_out_idx >= HFC_CTRL_BUFSIZE)
                        hfc->ctrl_out_idx = 0;  /* pointer wrap */
 hfc_usb_init(hfcusb_data * hfc)
 {
        usb_fifo *fifo;
-       int i, err;
+       int i;
        u_char b;
        struct hisax_b_if *p_b_if[2];
 
        }
 
        /* first set the needed config, interface and alternate */
-       err = usb_set_interface(hfc->dev, hfc->if_used, hfc->alt_used);
+       usb_set_interface(hfc->dev, hfc->if_used, hfc->alt_used);
 
        /* do Chip reset */
        write_usb(hfc, HFCUSB_CIRM, 8);