summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/cx88/cx88.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2014-08-29 03:46:05 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-11-03 08:20:45 -0200
commit637bc2079678e08476d884f02a5d5d3208b5c018 (patch)
treed3d6bc06adbecee50f7165f609a8f18ea146524e /drivers/media/pci/cx88/cx88.h
parent082417d10fafe7be835d143ade7114b5ce26cb50 (diff)
downloadlinux-stable-637bc2079678e08476d884f02a5d5d3208b5c018.tar.gz
linux-stable-637bc2079678e08476d884f02a5d5d3208b5c018.tar.bz2
linux-stable-637bc2079678e08476d884f02a5d5d3208b5c018.zip
[media] cx88: remove fmt from the buffer struct
This is a duplicate of dev->fmt and can be removed. As a consequence a lot of tests that check if the format has changed midstream can be removed as well: the format cannot change midstream, so this is a bogus check. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/pci/cx88/cx88.h')
-rw-r--r--drivers/media/pci/cx88/cx88.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/pci/cx88/cx88.h b/drivers/media/pci/cx88/cx88.h
index 28893a6b249e..ddc7991723eb 100644
--- a/drivers/media/pci/cx88/cx88.h
+++ b/drivers/media/pci/cx88/cx88.h
@@ -319,7 +319,6 @@ struct cx88_buffer {
/* cx88 specific */
unsigned int bpl;
struct btcx_riscmem risc;
- const struct cx8800_fmt *fmt;
u32 count;
};