summaryrefslogtreecommitdiff
path: root/drivers/media/video/pwc/pwc-dec23.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2011-12-31 10:52:02 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-01-06 10:45:47 -0200
commitdc8a7e83aaf8bb1bcf7163bda8926a6dd29c409b (patch)
treea6f304a0d6a6d4c3883d3bc0865a68eaede3692d /drivers/media/video/pwc/pwc-dec23.h
parent115f418bfa7575fbd1422d7fd274a2425260beb2 (diff)
[media] pwc: Remove dead snapshot code
The in kernel version of the pwc driver has never supported snapshot mode, and now that we no longer support the pixfmt.priv abuse there also no longer is a way for userspace to request it, rendering all the code in question dead (never called), so remove it. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/pwc/pwc-dec23.h')
-rw-r--r--drivers/media/video/pwc/pwc-dec23.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/pwc/pwc-dec23.h b/drivers/media/video/pwc/pwc-dec23.h
index 9cba74dafa4b..d64a3c281af6 100644
--- a/drivers/media/video/pwc/pwc-dec23.h
+++ b/drivers/media/video/pwc/pwc-dec23.h
@@ -54,6 +54,5 @@ struct pwc_dec23_private
int pwc_dec23_init(struct pwc_device *pwc, int type, unsigned char *cmd);
void pwc_dec23_decompress(const struct pwc_device *pwc,
const void *src,
- void *dst,
- int flags);
+ void *dst);
#endif