From 091388d8e92f46480ead687391ee7d582f6585b2 Mon Sep 17 00:00:00 2001 From: Lucio De Re Date: Thu, 20 Sep 2012 14:58:33 -0400 Subject: [PATCH] cmd/ld: remove unused assignment The calculation of datsize is redundant. R=golang-dev, seed, rsc CC=golang-dev https://golang.org/cl/6503122 --- src/cmd/ld/data.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/cmd/ld/data.c b/src/cmd/ld/data.c index e1d380b317f..89eccd143cc 100644 --- a/src/cmd/ld/data.c +++ b/src/cmd/ld/data.c @@ -1038,7 +1038,6 @@ dodata(void) datsize += t; } sect->len = datsize - sect->vaddr; - datsize = rnd(datsize, PtrSize); /* we finished segdata, begin segtext */