• Rami Rosen's avatar
    rtnelink: remove unused parameter from rtnl_create_link(). · c0713563
    Rami Rosen authored
    This patch removes an unused parameter (src_net) from rtnl_create_link()
    method and from the method single invocation, in veth.
    This parameter was used in the past when calling
    ops->get_tx_queues(src_net, tb) in rtnl_create_link().
    The get_tx_queues() member of rtnl_link_ops was replaced by two methods,
    get_num_tx_queues() and get_num_rx_queues(), which do not get any
    parameter. This was done in commit d40156aa by
    Jiri Pirko ("rtnl: allow to specify different num for rx and tx queue count").
    Signed-off-by: default avatarRami Rosen <ramirose@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    c0713563
rtnetlink.h 4.73 KB