ctrl_complete(struct urb *urb)
 {
        struct hfcsusb *hw = (struct hfcsusb *) urb->context;
-       struct ctrl_buf *buf;
 
        if (debug & DBG_HFC_CALL_TRACE)
                printk(KERN_DEBUG "%s: %s\n", hw->name, __func__);
 
        urb->dev = hw->dev;
        if (hw->ctrl_cnt) {
-               buf = &hw->ctrl_buff[hw->ctrl_out_idx];
                hw->ctrl_cnt--; /* decrement actual count */
                if (++hw->ctrl_out_idx >= HFC_CTRL_BUFSIZE)
                        hw->ctrl_out_idx = 0;   /* pointer wrap */
 static int
 setup_hfcsusb(struct hfcsusb *hw)
 {
-       int err;
        u_char b;
 
        if (debug & DBG_HFC_CALL_TRACE)
        }
 
        /* first set the needed config, interface and alternate */
-       err = usb_set_interface(hw->dev, hw->if_used, hw->alt_used);
+       (void) usb_set_interface(hw->dev, hw->if_used, hw->alt_used);
 
        hw->led_state = 0;