commit | 7daa4a8897e79911f524ddac065adea05c7e9b16 | [log] [tgz] |
---|---|---|
author | Guennadi Liakhovetski <g.liakhovetski@pengutronix.de> | Tue Apr 22 14:46:03 2008 -0300 |
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | Thu Apr 24 14:07:51 2008 -0300 |
tree | b98c96df4282870130fcc712dd3832871fb90dc1 | |
parent | b2cb200f0d0d5e801b47635554519f6e1b64e847 [diff] |
V4L/DVB (7378): cleanup variable initialization flags used for spinlocks don't need to be initialized, except where the compiler has no way to see, that the spin_unlock_irqrestore is only called if the spin_lock_irqsave has been called before. Local variable initialization doesn't have to be protected. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de> Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>