]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/staging/comedi/comedi_fops.c
Merge 3.10-rc3 into staging-next
[karo-tx-linux.git] / drivers / staging / comedi / comedi_fops.c
index 0e781732cc1a7a1470a1adf6ca2785a4d3df6b5f..610be19d859f4dfb772c99589350c724e74b3d79 100644 (file)
@@ -241,9 +241,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;