]> Cypherpunks repositories - gostls13.git/commit
runtime: remove rnd calls that pass a second argument of 1
authorIan Lance Taylor <iant@golang.org>
Mon, 25 Jul 2011 05:03:17 +0000 (22:03 -0700)
committerIan Lance Taylor <iant@golang.org>
Mon, 25 Jul 2011 05:03:17 +0000 (22:03 -0700)
commit3a07d516b4ab75d045f82d81c4c49bc3876721b9
tree242cc615849c5ee56a1c24a2432267245d862137
parenta1e7cd97d509bae39d9e6a964b8920b1863a4e22
runtime: remove rnd calls that pass a second argument of 1

When rnd is called with a second argument of 1, it simply
returns the first argument anyway.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/4820045
src/pkg/runtime/chan.c
src/pkg/runtime/hashmap.c
src/pkg/runtime/iface.c