summaryrefslogtreecommitdiff
path: root/mm/mm_init.c
diff options
context:
space:
mode:
authorPeter Huewe <peterhuewe@gmx.de>2013-02-13 04:05:25 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-02-15 10:28:37 -0800
commit7f0cb0a05df262c51084f8b079188395ea1ad3da (patch)
treea59760413b346751dba9fbff01f62ab258721e52 /mm/mm_init.c
parenta638d6afbcf05cdd6d3a221544dbd8d1cd1eb3b6 (diff)
downloadlinux-7f0cb0a05df262c51084f8b079188395ea1ad3da.tar.gz
linux-7f0cb0a05df262c51084f8b079188395ea1ad3da.tar.bz2
linux-7f0cb0a05df262c51084f8b079188395ea1ad3da.zip
staging/rtl8187se: Remove duplicated code by using an offset
In SetAntennaConfig87SE both branches of if (bAntDiversity) do exactly the same, except that there is an offset of 0x80 for the register values if bAntDiversity is true. -> Consolidate both branches and assign the offset if necessary. Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/mm_init.c')
0 files changed, 0 insertions, 0 deletions