]> git.karo-electronics.de Git - linux-beck.git/commit
[media] airspy: remove unneeded spinlock irq flags initialization
authorAntti Palosaari <crope@iki.fi>
Sun, 24 Aug 2014 22:27:43 +0000 (19:27 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 21 Sep 2014 19:42:33 +0000 (16:42 -0300)
commit8880f2cbdb0a981ea8e6a5ce2915abac26120523
tree38b4f0d3a0b366438f14f0a3c996acb8d88bff39
parent617123ae383e66b3a2c5f57155b49af5bb4327db
[media] airspy: remove unneeded spinlock irq flags initialization

There is no need to init flags before calling spin_lock_irqsave().
spin_lock_irqsave is a macro which stores value to 'flags'.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/airspy/airspy.c