]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
usb: cosmetic: double const
authorJeroen Hofstee <jeroen@myspectrum.nl>
Tue, 17 Jun 2014 19:14:17 +0000 (21:14 +0200)
committerMarek Vasut <marex@denx.de>
Wed, 25 Jun 2014 20:22:20 +0000 (22:22 +0200)
For plain array const can be either before or after
the type definition. Adding both is simply redundand.
Remove the later one.

cc: marex@denx.de
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
drivers/usb/eth/asix.c
drivers/usb/eth/mcs7830.c

index ce133f00698de8ef6346604079c202f07e1534ba..6557055e02b8ea130cc592b6425af0e54b0ca8d8 100644 (file)
@@ -565,7 +565,7 @@ struct asix_dongle {
        int flags;
 };
 
-static const struct asix_dongle const asix_dongles[] = {
+static const struct asix_dongle asix_dongles[] = {
        { 0x05ac, 0x1402, FLAG_TYPE_AX88772 },  /* Apple USB Ethernet Adapter */
        { 0x07d1, 0x3c05, FLAG_TYPE_AX88772 },  /* D-Link DUB-E100 H/W Ver B1 */
        { 0x2001, 0x1a02, FLAG_TYPE_AX88772 },  /* D-Link DUB-E100 H/W Ver C1 */
index c353286b60d527baa283f1727d61ffe02c344189..8e738d40e3fca6aeaf59404b3f668960e13af949 100644 (file)
@@ -666,7 +666,7 @@ struct mcs7830_dongle {
 /*
  * mcs7830_dongles - the list of supported Moschip based USB ethernet dongles
  */
-static const struct mcs7830_dongle const mcs7830_dongles[] = {
+static const struct mcs7830_dongle mcs7830_dongles[] = {
        { 0x9710, 0x7832, },    /* Moschip 7832 */
        { 0x9710, 0x7830, },    /* Moschip 7830 */
        { 0x9710, 0x7730, },    /* Moschip 7730 */