rt2x00: Remove duplicate code
authorIvo van Doorn <ivdoorn@gmail.com>
Tue, 2 Dec 2008 17:20:22 +0000 (18:20 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 5 Dec 2008 14:35:50 +0000 (09:35 -0500)
commit0b927a079106e5f66c736e297370d3feb008e28e
tree4484805e93961dd362c6c2bff183f1d62c9998c7
parent42c8285767dd17f450d986bdb163a8d56fb0330a
rt2x00: Remove duplicate code

Simplify rt2x00lib_config_antenna() by moving
duplicate code into a seperate static inlined
function.

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