• N
    bonding: trivial: remove unused variables · 22f94e62
    Nikolay Aleksandrov 提交于
    Get rid of these:
    drivers/net/bonding//bond_main.c: In function ‘bond_update_slave_arr’:
    drivers/net/bonding//bond_main.c:3754:6: warning: variable
    ‘slaves_in_agg’ set but not used [-Wunused-but-set-variable]
      int slaves_in_agg;
          ^
      CC [M]  drivers/net/bonding//bond_3ad.o
    drivers/net/bonding//bond_3ad.c: In function
    ‘ad_marker_response_received’:
    drivers/net/bonding//bond_3ad.c:1870:61: warning: parameter ‘marker’
    set but not used [-Wunused-but-set-parameter]
     static void ad_marker_response_received(struct bond_marker *marker,
                                                                 ^
    drivers/net/bonding//bond_3ad.c:1871:19: warning: parameter ‘port’ set
    but not used [-Wunused-but-set-parameter]
          struct port *port)
                       ^
    Signed-off-by: NNikolay Aleksandrov <nikolay@cumulusnetworks.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    22f94e62
bond_main.c 130.7 KB