From mboxrd@z Thu Jan 1 00:00:00 1970 From: David =?utf-8?b?SMOkcmRlbWFu?= Subject: [PATCH 6/8] ir-core: fix double spinlock init in drivers/media/IR/rc-map.c Date: Thu, 15 Apr 2010 23:46:25 +0200 Message-ID: <20100415214625.14142.66208.stgit@localhost.localdomain> References: <20100415214520.14142.56114.stgit@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from 1-1-12-13a.han.sth.bostream.se ([82.182.30.168]:52174 "EHLO palpatine.hardeman.nu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757799Ab0DOVq3 (ORCPT ); Thu, 15 Apr 2010 17:46:29 -0400 In-Reply-To: <20100415214520.14142.56114.stgit@localhost.localdomain> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: mchehab@redhat.com Cc: linux-media@vger.kernel.org, linux-input@vger.kernel.org =46ix a double initialization of the same spinlock in drivers/media/IR/= rc-map.c. Signed-off-by: David H=C3=A4rdeman --- drivers/media/IR/ir-sysfs.c | 2 -- drivers/media/IR/rc-map.c | 5 ----- 2 files changed, 0 insertions(+), 7 deletions(-) diff --git a/drivers/media/IR/ir-sysfs.c b/drivers/media/IR/ir-sysfs.c index dfd45fa..876baae 100644 --- a/drivers/media/IR/ir-sysfs.c +++ b/drivers/media/IR/ir-sysfs.c @@ -294,8 +294,6 @@ static int __init ir_core_init(void) =20 /* Initialize/load the decoders/keymap code that will be used */ ir_raw_init(); - rc_map_init(); - =20 return 0; } diff --git a/drivers/media/IR/rc-map.c b/drivers/media/IR/rc-map.c index 1a3f4b1..caf6a27 100644 --- a/drivers/media/IR/rc-map.c +++ b/drivers/media/IR/rc-map.c @@ -81,8 +81,3 @@ void ir_unregister_map(struct rc_keymap *map) } EXPORT_SYMBOL_GPL(ir_unregister_map); =20 -void rc_map_init(void) -{ - spin_lock_init(&rc_map_lock); - -} -- To unsubscribe from this list: send the line "unsubscribe linux-input" = in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html