Skip to content

Commit

Permalink
net: batman-adv: remove rx_csum ethtool_ops
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Mirosław <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
osctobe authored and davem330 committed Apr 20, 2011
1 parent 290129f commit 97dbee7
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions net/batman-adv/soft-interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,13 @@ static void bat_get_drvinfo(struct net_device *dev,
static u32 bat_get_msglevel(struct net_device *dev);
static void bat_set_msglevel(struct net_device *dev, u32 value);
static u32 bat_get_link(struct net_device *dev);
static u32 bat_get_rx_csum(struct net_device *dev);
static int bat_set_rx_csum(struct net_device *dev, u32 data);

static const struct ethtool_ops bat_ethtool_ops = {
.get_settings = bat_get_settings,
.get_drvinfo = bat_get_drvinfo,
.get_msglevel = bat_get_msglevel,
.set_msglevel = bat_set_msglevel,
.get_link = bat_get_link,
.get_rx_csum = bat_get_rx_csum,
.set_rx_csum = bat_set_rx_csum
};

int my_skb_head_push(struct sk_buff *skb, unsigned int len)
Expand Down Expand Up @@ -736,12 +732,3 @@ static u32 bat_get_link(struct net_device *dev)
return 1;
}

static u32 bat_get_rx_csum(struct net_device *dev)
{
return 0;
}

static int bat_set_rx_csum(struct net_device *dev, u32 data)
{
return -EOPNOTSUPP;
}

0 comments on commit 97dbee7

Please sign in to comment.