Commit 7882eca5 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: fix compiler warnings in devices.c file.

parent 9df38a80
...@@ -237,7 +237,7 @@ static char *usb_dump_interface_descriptor(char *start, char *end, ...@@ -237,7 +237,7 @@ static char *usb_dump_interface_descriptor(char *start, char *end,
const struct usb_interface *iface, const struct usb_interface *iface,
int setno) int setno)
{ {
struct usb_interface_descriptor *desc = &intfc->altsetting[setno].desc; const struct usb_interface_descriptor *desc = &intfc->altsetting[setno].desc;
char *driver_name = ""; char *driver_name = "";
if (start > end) if (start > end)
...@@ -268,7 +268,7 @@ static char *usb_dump_interface( ...@@ -268,7 +268,7 @@ static char *usb_dump_interface(
const struct usb_interface *iface, const struct usb_interface *iface,
int setno int setno
) { ) {
struct usb_host_interface *desc = &intfc->altsetting[setno]; const struct usb_host_interface *desc = &intfc->altsetting[setno];
int i; int i;
start = usb_dump_interface_descriptor(start, end, intfc, iface, setno); start = usb_dump_interface_descriptor(start, end, intfc, iface, setno);
......
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