diff options
| -rw-r--r-- | drivers/usb/media/pwc/pwc-if.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/usb/media/pwc/pwc-if.c b/drivers/usb/media/pwc/pwc-if.c index 5429ff3b9753..b77e65c03659 100644 --- a/drivers/usb/media/pwc/pwc-if.c +++ b/drivers/usb/media/pwc/pwc-if.c | |||
| @@ -332,10 +332,6 @@ static int pwc_allocate_buffers(struct pwc_device *pdev) | |||
| 332 | #endif | 332 | #endif |
| 333 | ; | 333 | ; |
| 334 | } | 334 | } |
| 335 | if (kbuf == NULL) { | ||
| 336 | Err("Failed to allocate decompress table.\n"); | ||
| 337 | return -ENOMEM; | ||
| 338 | } | ||
| 339 | pdev->decompress_data = kbuf; | 335 | pdev->decompress_data = kbuf; |
| 340 | 336 | ||
| 341 | /* Allocate image buffer; double buffer for mmap() */ | 337 | /* Allocate image buffer; double buffer for mmap() */ |
