diff options
Diffstat (limited to 'drivers/media/video/pwc/pwc-dec23.c')
-rw-r--r-- | drivers/media/video/pwc/pwc-dec23.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/drivers/media/video/pwc/pwc-dec23.c b/drivers/media/video/pwc/pwc-dec23.c index 0c801b8f3eca..06a4e877ba40 100644 --- a/drivers/media/video/pwc/pwc-dec23.c +++ b/drivers/media/video/pwc/pwc-dec23.c | |||
@@ -916,27 +916,5 @@ void pwc_dec23_decompress(const struct pwc_device *pwc, | |||
916 | pout_planar_v += pwc->view.x; | 916 | pout_planar_v += pwc->view.x; |
917 | 917 | ||
918 | } | 918 | } |
919 | |||
920 | } | 919 | } |
921 | |||
922 | } | 920 | } |
923 | |||
924 | void pwc_dec23_exit(void) | ||
925 | { | ||
926 | /* Do nothing */ | ||
927 | |||
928 | } | ||
929 | |||
930 | /** | ||
931 | * Allocate a private structure used by lookup table. | ||
932 | * You must call kfree() to free the memory allocated. | ||
933 | */ | ||
934 | int pwc_dec23_alloc(struct pwc_device *pwc) | ||
935 | { | ||
936 | pwc->decompress_data = kmalloc(sizeof(struct pwc_dec23_private), GFP_KERNEL); | ||
937 | if (pwc->decompress_data == NULL) | ||
938 | return -ENOMEM; | ||
939 | return 0; | ||
940 | } | ||
941 | |||
942 | /* vim: set cino= formatoptions=croql cindent shiftwidth=8 tabstop=8: */ | ||