From c8efc47aefa864b92537ab1470b913b20e8dcacd Mon Sep 17 00:00:00 2001 From: "darron@kewl.org" Date: Wed, 15 Oct 2008 17:43:41 +0100 Subject: videobuf: data storage optimisation From: Darron Broad To optimise data storage redundant vars are removed. Priority: normal Signed-off-by: Darron Broad Signed-off-by: Steven Toth --- linux/include/media/videobuf-dvb.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'linux/include') diff --git a/linux/include/media/videobuf-dvb.h b/linux/include/media/videobuf-dvb.h index 1a401f732..069215c77 100644 --- a/linux/include/media/videobuf-dvb.h +++ b/linux/include/media/videobuf-dvb.h @@ -16,7 +16,6 @@ struct videobuf_dvb { int nfeeds; /* videobuf_dvb_(un)register manges this */ - struct dvb_adapter adapter; struct dvb_demux demux; struct dmxdev dmxdev; struct dmx_frontend fe_hw; @@ -25,17 +24,17 @@ struct videobuf_dvb { }; struct videobuf_dvb_frontend { - void *dev; struct list_head felist; + void *dev; int id; struct videobuf_dvb dvb; }; struct videobuf_dvb_frontends { + struct list_head felist; struct mutex lock; struct dvb_adapter adapter; int active_fe_id; /* Indicates which frontend in the felist is in use */ - struct videobuf_dvb_frontend frontend; int gate; /* Frontend with gate control 0=!MFE,1=fe0,2=fe1 etc */ }; -- cgit v1.2.3