USB: legousbtower: drop redundant endianness comments
authorJohan Hovold <johan@kernel.org>
Tue, 5 Nov 2019 08:41:49 +0000 (09:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Nov 2019 10:17:54 +0000 (11:17 +0100)
The endianness is already encoded in the type specifier so drop the
redundant little-endian comments from the message structs.

Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20191105084152.16322-12-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/legousbtower.c

index a9b08468a302753f224585941a03ddd074b5c1fd..03f6861dfdf0f8f10042399007acc65542729cea 100644 (file)
@@ -157,18 +157,18 @@ MODULE_PARM_DESC(interrupt_out_interval, "Interrupt out interval in ms");
 #define LEGO_USB_TOWER_REQUEST_GET_VERSION     0xFD
 
 struct tower_reset_reply {
-       __le16 size;            /* little-endian */
+       __le16 size;
        __u8 err_code;
        __u8 spare;
 };
 
 struct tower_get_version_reply {
-       __le16 size;            /* little-endian */
+       __le16 size;
        __u8 err_code;
        __u8 spare;
        __u8 major;
        __u8 minor;
-       __le16 build_no;                /* little-endian */
+       __le16 build_no;
 };