using golang-style assignment

using golang-style assignment, not the c-style

Signed-off-by: Wang Anyu <wanganyu@outlook.com>
This commit is contained in:
rainrambler 2017-01-23 14:37:16 +08:00 committed by GitHub
parent 0fefa36f3a
commit 4449acd306
1 changed files with 1 additions and 3 deletions

View File

@ -374,9 +374,7 @@ func uniqMcs(catRange uint32) string {
continue
} else {
if c1 > c2 {
t := c1
c1 = c2
c2 = t
c1, c2 = c2, c1
}
}
mcs = fmt.Sprintf("s0:c%d,c%d", c1, c2)