mac80211: rt2x00: prune more unnecessary exports
authorDaniel Golle <daniel@makrotopia.org>
Mon, 30 Mar 2020 22:35:04 +0000 (23:35 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 1 Apr 2020 18:47:59 +0000 (19:47 +0100)
commita24a9bbc8c131c300fd8d4f9307aa236ed61a34b
treee430c39c85f8c8b776b6022466e6ab9d577804c0
parent51edc4eb89bb299d5da2a20e1cc7349b808c6747
mac80211: rt2x00: prune more unnecessary exports

The calibration patches for MT7620 unnecessarily export symbols and
populate never accessed function pointers. Remove all that and make
functions static as the only place where each of those functions is
called is within rt2800lib.c.
Also make code more readable by fixing indentation, removing
unnecessary parantheses and simplifying some instructions using
shorthands here and there.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/kernel/mac80211/patches/rt2x00/982-rt2x00-add-rf-self-txdc-calibration.patch
package/kernel/mac80211/patches/rt2x00/983-rt2x00-add-r-calibration.patch
package/kernel/mac80211/patches/rt2x00/984-rt2x00-add-rxdcoc-calibration.patch
package/kernel/mac80211/patches/rt2x00/985-rt2x00-add-rxiq-calibration.patch
package/kernel/mac80211/patches/rt2x00/986-rt2x00-add-TX-LOFT-calibration.patch