]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/block/acsi_slm.c
[PATCH] usbcore: Fix broken RNDIS config selection
[linux-2.6-omap-h63xx.git] / drivers / block / acsi_slm.c
index a5c1c8e871ec38aacc9abcbbe15a211ab3269b85..4cb9c13362874cedbed44c24a2982046d1e74e4c 100644 (file)
@@ -369,8 +369,6 @@ static ssize_t slm_read( struct file *file, char *buf, size_t count,
        int length;
        int end;
 
-       if (count < 0)
-               return( -EINVAL );
        if (!(page = __get_free_page( GFP_KERNEL )))
                return( -ENOMEM );