staging: vt6656: struct vnt_usb_send_context struct size optimization.
authorMalcolm Priestley <tvboxspy@gmail.com>
Tue, 25 Feb 2014 20:51:52 +0000 (20:51 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Feb 2014 21:04:36 +0000 (13:04 -0800)
Reorder in size and remove dead member Next.

Reported-by: Joe Perches <joe@perches.com>
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/device.h

index 54c6383c5a7d2e355bdf2bfd5a4401489209e5d0..ce1587ad55aecececef447d23d7413ac320086ca 100644 (file)
@@ -179,10 +179,9 @@ struct vnt_usb_send_context {
        void *pDevice;
        struct sk_buff *pPacket;
        struct urb *pUrb;
+       struct ethhdr sEthHeader;
        unsigned int uBufLen;
        u8 type;
-       struct ethhdr sEthHeader;
-       void *Next;
        bool bBoolInUse;
        unsigned char Data[MAX_TOTAL_SIZE_WITH_ALL_HEADERS];
 };