summaryrefslogtreecommitdiff
path: root/MdePkg/Include/IndustryStandard/Usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Include/IndustryStandard/Usb.h')
-rw-r--r--MdePkg/Include/IndustryStandard/Usb.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/MdePkg/Include/IndustryStandard/Usb.h b/MdePkg/Include/IndustryStandard/Usb.h
index ec86d8b794..419b1b375d 100644
--- a/MdePkg/Include/IndustryStandard/Usb.h
+++ b/MdePkg/Include/IndustryStandard/Usb.h
@@ -62,7 +62,6 @@
//
// USB standard descriptors and reqeust
//
-#pragma pack(1)
///
/// Format of Setup Data for USB Device Requests
@@ -151,9 +150,6 @@ typedef struct {
CHAR16 String[1];
} EFI_USB_STRING_DESCRIPTOR;
-#pragma pack()
-
-
typedef enum {
//
// USB request type
@@ -339,6 +335,7 @@ typedef struct hid_class_descriptor {
UINT8 DescriptorType;
UINT16 DescriptorLength;
} EFI_USB_HID_CLASS_DESCRIPTOR;
+#pragma pack()
///
/// The HID descriptor identifies the length and type
@@ -353,6 +350,4 @@ typedef struct hid_descriptor {
EFI_USB_HID_CLASS_DESCRIPTOR HidClassDesc[1];
} EFI_USB_HID_DESCRIPTOR;
-#pragma pack()
-
#endif