Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205951
b: refs/heads/master
c: a1a38ca
h: refs/heads/master
i:
  205949: 738312a
  205947: e82a214
  205943: 40ad6a9
  205935: e5fdb88
  205919: 0db1355
  205887: 3f3cfb4
  205823: 300cd0e
v: v3
  • Loading branch information
Sven Eckelmann authored and Greg Kroah-Hartman committed Jul 22, 2010
1 parent 75c89b2 commit e1ad8db
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b4e178224cfdc8aae7dda0baab34a4e4110a2e93
refs/heads/master: a1a38cad4c71bc08403b204fbe0ba98b4447f8bf
7 changes: 0 additions & 7 deletions trunk/drivers/staging/batman-adv/hard-interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,6 @@ int batman_skb_recv(struct sk_buff *skb, struct net_device *dev,
struct bat_priv *bat_priv = netdev_priv(soft_device);
struct batman_packet *batman_packet;
struct batman_if *batman_if;
struct net_device_stats *stats;
int ret;

skb = skb_share_check(skb, GFP_ATOMIC);
Expand Down Expand Up @@ -478,12 +477,6 @@ int batman_skb_recv(struct sk_buff *skb, struct net_device *dev,
if (batman_if->if_status != IF_ACTIVE)
goto err_free;

stats = (struct net_device_stats *)dev_get_stats(skb->dev);
if (stats) {
stats->rx_packets++;
stats->rx_bytes += skb->len;
}

batman_packet = (struct batman_packet *)skb->data;

if (batman_packet->version != COMPAT_VERSION) {
Expand Down

0 comments on commit e1ad8db

Please sign in to comment.