summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_msctest.c
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-03-20 22:10:36 +0000
committerthompsa <thompsa@FreeBSD.org>2009-03-20 22:10:36 +0000
commit898902325aaadd20a2c54db25450365615abbb7e (patch)
treeb09fd3b6c61404ccf1898cb2a7504c5884342e8e /sys/dev/usb/usb_msctest.c
parentc34d4cedbd5f2eb380f6ae013cc24abfc32acadf (diff)
downloadFreeBSD-src-898902325aaadd20a2c54db25450365615abbb7e.zip
FreeBSD-src-898902325aaadd20a2c54db25450365615abbb7e.tar.gz
MFp4 //depot/projects/usb@159517
Fix warnings with the IAR compiler. Submitted by: Hans Petter Selasky
Diffstat (limited to 'sys/dev/usb/usb_msctest.c')
-rw-r--r--sys/dev/usb/usb_msctest.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/usb/usb_msctest.c b/sys/dev/usb/usb_msctest.c
index 4f1004e..bd5fdac 100644
--- a/sys/dev/usb/usb_msctest.c
+++ b/sys/dev/usb/usb_msctest.c
@@ -138,7 +138,6 @@ static const struct usb2_config bbb_config[ST_MAX] = {
.endpoint = UE_ADDR_ANY,
.direction = UE_DIR_OUT,
.mh.bufsize = sizeof(struct bbb_cbw),
- .mh.flags = {},
.mh.callback = &bbb_command_callback,
.mh.timeout = 4 * USB_MS_HZ, /* 4 seconds */
},
@@ -158,7 +157,6 @@ static const struct usb2_config bbb_config[ST_MAX] = {
.endpoint = 0x00, /* Control pipe */
.direction = UE_DIR_ANY,
.mh.bufsize = sizeof(struct usb2_device_request),
- .mh.flags = {},
.mh.callback = &bbb_data_rd_cs_callback,
.mh.timeout = 1 * USB_MS_HZ, /* 1 second */
},
@@ -178,7 +176,6 @@ static const struct usb2_config bbb_config[ST_MAX] = {
.endpoint = 0x00, /* Control pipe */
.direction = UE_DIR_ANY,
.mh.bufsize = sizeof(struct usb2_device_request),
- .mh.flags = {},
.mh.callback = &bbb_data_wr_cs_callback,
.mh.timeout = 1 * USB_MS_HZ, /* 1 second */
},
OpenPOWER on IntegriCloud