Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354035
b: refs/heads/master
c: a8f40f4
h: refs/heads/master
i:
  354033: 7a33de9
  354031: 3d928a0
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Jan 18, 2013
1 parent a858f03 commit 5f74026
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: 305a6f3896350bbfa59c0021f59600bbbb2e9590
refs/heads/master: a8f40f463fda58b90206173be73dc199beb7395f
7 changes: 0 additions & 7 deletions trunk/drivers/staging/comedi/comedi_buf.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,13 +215,6 @@ static unsigned int comedi_buf_munge(struct comedi_async *async,
int block_size = num_bytes - count;
unsigned int buf_end;

if (block_size < 0) {
dev_warn(s->device->class_dev,
"%s: %s: bug! block_size is negative\n",
__FILE__, __func__);
break;
}

buf_end = async->prealloc_bufsz - async->munge_ptr;
if (block_size > buf_end)
block_size = buf_end;
Expand Down

0 comments on commit 5f74026

Please sign in to comment.