]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/usb/media/pwc/pwc-if.c
[PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason
[linux-2.6-omap-h63xx.git] / drivers / usb / media / pwc / pwc-if.c
index 5429ff3b97537336f4846a346c783a913fe92624..5524fd70210b3dc984b1160dd7a9a19249280404 100644 (file)
@@ -62,6 +62,7 @@
 #include <linux/poll.h>
 #include <linux/slab.h>
 #include <linux/vmalloc.h>
+#include <linux/version.h>
 #include <asm/io.h>
 
 #include "pwc.h"
@@ -332,10 +333,6 @@ static int pwc_allocate_buffers(struct pwc_device *pdev)
 #endif  
        ;
         }
-       if (kbuf == NULL) {
-          Err("Failed to allocate decompress table.\n");
-          return -ENOMEM;
-       }
        pdev->decompress_data = kbuf;
        
        /* Allocate image buffer; double buffer for mmap() */