From: Peter Huewe Date: Wed, 13 Feb 2013 03:05:25 +0000 (+0100) Subject: staging/rtl8187se: Remove duplicated code by using an offset X-Git-Tag: v3.9-rc1~127^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f0cb0a05df262c51084f8b079188395ea1ad3da;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed