]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
r8169: remove member align from struct rtl_cfg_info
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 17 Apr 2018 21:18:05 +0000 (23:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Apr 2018 01:11:58 +0000 (21:11 -0400)
Since commit 6f0333b8fde4 "r8169: use 50% less ram for RX ring" member
align isn't used any longer, so remove it.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c

index 5cd10ee62f2090387e9ce63c1537329878ca1188..14f494a9318afccba9726c85be2837c47dc08162 100644 (file)
@@ -8016,7 +8016,6 @@ static const struct net_device_ops rtl_netdev_ops = {
 static const struct rtl_cfg_info {
        void (*hw_start)(struct net_device *);
        unsigned int region;
-       unsigned int align;
        u16 event_slow;
        unsigned int has_gmii:1;
        const struct rtl_coalesce_info *coalesce_info;
@@ -8025,7 +8024,6 @@ static const struct rtl_cfg_info {
        [RTL_CFG_0] = {
                .hw_start       = rtl_hw_start_8169,
                .region         = 1,
-               .align          = 0,
                .event_slow     = SYSErr | LinkChg | RxOverflow | RxFIFOOver,
                .has_gmii       = 1,
                .coalesce_info  = rtl_coalesce_info_8169,
@@ -8034,7 +8032,6 @@ static const struct rtl_cfg_info {
        [RTL_CFG_1] = {
                .hw_start       = rtl_hw_start_8168,
                .region         = 2,
-               .align          = 8,
                .event_slow     = SYSErr | LinkChg | RxOverflow,
                .has_gmii       = 1,
                .coalesce_info  = rtl_coalesce_info_8168_8136,
@@ -8043,7 +8040,6 @@ static const struct rtl_cfg_info {
        [RTL_CFG_2] = {
                .hw_start       = rtl_hw_start_8101,
                .region         = 2,
-               .align          = 8,
                .event_slow     = SYSErr | LinkChg | RxOverflow | RxFIFOOver |
                                  PCSTimeout,
                .coalesce_info  = rtl_coalesce_info_8168_8136,