commit | c49ddc84f3ce89310585aad23ab6e51ef5523748 | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Sat Jul 15 09:30:24 2017 -0700 |
committer | Ian Lance Taylor <iant@golang.org> | Tue Jul 18 23:13:17 2017 +0000 |
tree | d103332541be70690dc89d41cda7bf5f19ec4dd2 | |
parent | 0036bd04d077f8bbe5aa9a62fb8830c53068209e [diff] |
runtime: inline runtime_osinit We had two identical copies of runtime_osinit. They set runtime_ncpu, a variable that is no longer used. Removing that leaves us with two lines. Inline those two lines in the two places the function was called. This fixes GCC PR 81451. Change-Id: I2efb89a1a7faac2fcd87fd5134fafeccb6564a2d Reviewed-on: https://go-review.googlesource.com/48862 Reviewed-by: Than McIntosh <thanm@google.com>