Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 376031
b: refs/heads/master
c: b3fab42
h: refs/heads/master
i:
  376029: 3f44047
  376027: 7715e26
  376023: f1c757f
  376015: a878a66
  375999: 904156b
v: v3
  • Loading branch information
Ian Abbott authored and Greg Kroah-Hartman committed May 13, 2013
1 parent 33f5f43 commit 4ab5311
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 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: 1581a03573e6c9ebd931e31f9172cce25dcb69e6
refs/heads/master: b3fab427739c76871c96834e72c369dd0e502d4b
3 changes: 0 additions & 3 deletions trunk/drivers/staging/comedi/comedi_fops.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,6 @@ static int resize_async_buffer(struct comedi_device *dev,
return -EBUSY;
}

if (!async->prealloc_buf)
return -EINVAL;

/* make sure buffer is an integral number of pages
* (we round up) */
new_size = (new_size + PAGE_SIZE - 1) & PAGE_MASK;
Expand Down

0 comments on commit 4ab5311

Please sign in to comment.