diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-03-14 09:58:10 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-03-14 09:58:10 +0000 |
commit | 5d47a3af555cfacf69b0382b1f030635b78fcaac (patch) | |
tree | 62b22baef9bfc50d9281d8fb86fd1e7094baa09d /linux/drivers/media/video/videocodec.c | |
parent | f9e22df39dec840bd92871337b918bd5609a28d6 (diff) | |
download | mediapointer-dvb-s2-5d47a3af555cfacf69b0382b1f030635b78fcaac.tar.gz mediapointer-dvb-s2-5d47a3af555cfacf69b0382b1f030635b78fcaac.tar.bz2 |
cleanup variable initialization
From: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de>
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>
Diffstat (limited to 'linux/drivers/media/video/videocodec.c')
0 files changed, 0 insertions, 0 deletions