Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90253
b: refs/heads/master
c: 2a706ec
h: refs/heads/master
i:
  90251: c0a2834
v: v3
  • Loading branch information
Jiri Olsa authored and David S. Miller committed Mar 24, 2008
1 parent ed6accb commit 02ea5b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 2051f11fb86b0056fec440fe7e9fa8370d60a5c6
refs/heads/master: 2a706ec1881709b8a90d8ccdd1fde40b3cc79364
3 changes: 1 addition & 2 deletions trunk/net/packet/af_packet.c
Original file line number Diff line number Diff line change
Expand Up @@ -1658,7 +1658,7 @@ static int packet_set_ring(struct sock *sk, struct tpacket_req *req, int closing
int err = 0;

if (req->tp_block_nr) {
int i, l;
int i;

/* Sanity tests and some calculations */

Expand Down Expand Up @@ -1687,7 +1687,6 @@ static int packet_set_ring(struct sock *sk, struct tpacket_req *req, int closing
if (unlikely(!pg_vec))
goto out;

l = 0;
for (i = 0; i < req->tp_block_nr; i++) {
char *ptr = pg_vec[i];
struct tpacket_hdr *header;
Expand Down

0 comments on commit 02ea5b7

Please sign in to comment.