diff options
author | Darron Broad <darron@kewl.org> | 2008-10-15 19:26:34 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-17 16:29:59 -0400 |
commit | 96b7a1a838fb5b8746fc22f4ff3cef358bf59f35 (patch) | |
tree | 01262ee7ba5500fdd227ef87968cb401c2206b1a /include/media | |
parent | 745632147d54cd4db6812045351510ebd3981a24 (diff) |
V4L/DVB (9271): videobuf: data storage optimisation (2)
To optimise data storage even further one other redundant
var has been removed.
This also removes a redundant assignment.
Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Darron Broad <darron@kewl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/videobuf-dvb.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/media/videobuf-dvb.h b/include/media/videobuf-dvb.h index 069215c77a65..52ddda90d3f6 100644 --- a/include/media/videobuf-dvb.h +++ b/include/media/videobuf-dvb.h | |||
@@ -25,7 +25,6 @@ struct videobuf_dvb { | |||
25 | 25 | ||
26 | struct videobuf_dvb_frontend { | 26 | struct videobuf_dvb_frontend { |
27 | struct list_head felist; | 27 | struct list_head felist; |
28 | void *dev; | ||
29 | int id; | 28 | int id; |
30 | struct videobuf_dvb dvb; | 29 | struct videobuf_dvb dvb; |
31 | }; | 30 | }; |
@@ -57,7 +56,7 @@ int videobuf_dvb_register_adapter(struct videobuf_dvb_frontends *f, | |||
57 | 56 | ||
58 | int videobuf_dvb_register_frontend(struct dvb_adapter *adapter, struct videobuf_dvb *dvb); | 57 | int videobuf_dvb_register_frontend(struct dvb_adapter *adapter, struct videobuf_dvb *dvb); |
59 | 58 | ||
60 | struct videobuf_dvb_frontend * videobuf_dvb_alloc_frontend(void *private, struct videobuf_dvb_frontends *f, int id); | 59 | struct videobuf_dvb_frontend * videobuf_dvb_alloc_frontend(struct videobuf_dvb_frontends *f, int id); |
61 | 60 | ||
62 | struct videobuf_dvb_frontend * videobuf_dvb_get_frontend(struct videobuf_dvb_frontends *f, int id); | 61 | struct videobuf_dvb_frontend * videobuf_dvb_get_frontend(struct videobuf_dvb_frontends *f, int id); |
63 | int videobuf_dvb_find_frontend(struct videobuf_dvb_frontends *f, struct dvb_frontend *p); | 62 | int videobuf_dvb_find_frontend(struct videobuf_dvb_frontends *f, struct dvb_frontend *p); |