diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2014-08-29 03:46:05 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-11-03 08:20:45 -0200 |
commit | 637bc2079678e08476d884f02a5d5d3208b5c018 (patch) | |
tree | d3d6bc06adbecee50f7165f609a8f18ea146524e /drivers/media/pci/cx88/cx88.h | |
parent | 082417d10fafe7be835d143ade7114b5ce26cb50 (diff) | |
download | lwn-637bc2079678e08476d884f02a5d5d3208b5c018.tar.gz lwn-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.h | 1 |
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; }; |