Commit 7cfe9ac0 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: remove some compiler warnings

parent e3d848c7
......@@ -712,18 +712,6 @@ static struct file_operations dabusb_fops =
.release = dabusb_release,
};
static int dabusb_find_struct (void)
{
int u;
for (u = 0; u < NRDABUSB; u++) {
pdabusb_t s = &dabusb[u];
if (!s->usbdev)
return u;
}
return -1;
}
/* --------------------------------------------------------------------- */
static void *dabusb_probe (struct usb_device *usbdev, unsigned int ifnum,
const struct usb_device_id *id)
......
......@@ -17,11 +17,13 @@
/* Request 0x51 Image Setup */
#if 0
/* 128x98 ? 0x3180 size */
static unsigned char s128x98bw[] = {
0, 0x34, 0xC4, 0x00, 0x00, 0x00, 0, 0,
0x18, 0x02, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00
};
#endif
/* 128x122 3D80 size */
static unsigned char s128x122bw[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment