summaryrefslogtreecommitdiff
path: root/drivers/staging/vt6656
diff options
context:
space:
mode:
authorPeter Huewe <peterhuewe@gmx.de>2013-02-13 03:05:25 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-02-15 18:28:37 (GMT)
commit7f0cb0a05df262c51084f8b079188395ea1ad3da (patch)
treea59760413b346751dba9fbff01f62ab258721e52 /drivers/staging/vt6656
parenta638d6afbcf05cdd6d3a221544dbd8d1cd1eb3b6 (diff)
downloadlinux-fsl-qoriq-7f0cb0a05df262c51084f8b079188395ea1ad3da.tar.xz
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 'drivers/staging/vt6656')
0 files changed, 0 insertions, 0 deletions