summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorPeter Huewe <peterhuewe@gmx.de>2013-02-13 07:05:25 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-02-15 22:28:37 +0400
commit7f0cb0a05df262c51084f8b079188395ea1ad3da (patch)
treea59760413b346751dba9fbff01f62ab258721e52 /net/lapb/lapb_timer.c
parenta638d6afbcf05cdd6d3a221544dbd8d1cd1eb3b6 (diff)
downloadlinux-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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions