]> git.baikalelectronics.ru Git - kernel.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)
commit1381b85f3cbc707e84860b21b565d341c99b58df
treedc6d4e50adfe470af65fe29ee7024cb51f384d05
parent29f20fed3898ab6b2a3d75a2e88214a97b87c6b9
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