]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
rt2x00: Remove redundant code in rfkill setup
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 27 Nov 2007 20:51:39 +0000 (21:51 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:05:10 +0000 (15:05 -0800)
commit6f8a4da17ea2c8467f88a586ae1d6fcfe2c66222
treedc6d4e50adfe470af65fe29ee7024cb51f384d05
parent61af43c56bef2cfcb8f1d9aab4e766e0f7bdd893
rt2x00: Remove redundant code in rfkill setup

In rt2x00rfkill.c, routine input_allocate_device() is called even though
input_allocate_polled_device(), which was just called, includes a call to
that routine. This patch, which has not been tested, removes the redundant code.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00rfkill.c