Commit 72877248 authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman

USB: legousbtower: drop redundant endianness comments

The endianness is already encoded in the type specifier so drop the
redundant little-endian comments from the message structs.
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20191105084152.16322-12-johan@kernel.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a76c234f
...@@ -157,18 +157,18 @@ MODULE_PARM_DESC(interrupt_out_interval, "Interrupt out interval in ms"); ...@@ -157,18 +157,18 @@ MODULE_PARM_DESC(interrupt_out_interval, "Interrupt out interval in ms");
#define LEGO_USB_TOWER_REQUEST_GET_VERSION 0xFD #define LEGO_USB_TOWER_REQUEST_GET_VERSION 0xFD
struct tower_reset_reply { struct tower_reset_reply {
__le16 size; /* little-endian */ __le16 size;
__u8 err_code; __u8 err_code;
__u8 spare; __u8 spare;
}; };
struct tower_get_version_reply { struct tower_get_version_reply {
__le16 size; /* little-endian */ __le16 size;
__u8 err_code; __u8 err_code;
__u8 spare; __u8 spare;
__u8 major; __u8 major;
__u8 minor; __u8 minor;
__le16 build_no; /* little-endian */ __le16 build_no;
}; };
......
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