summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2017-06-27 22:42:24 +0000
committerXinliang David Li <davidxl@google.com>2017-06-27 22:42:24 +0000
commit1f0d0b2a4c3aa3657113ce43d2e8f4c506f8b4e7 (patch)
tree760bad13434a419fa2b6cc68dd582aed87391a69
parent6d08ec7233704b7d812d99899b86ef612dd44984 (diff)
downloadbcm5719-llvm-1f0d0b2a4c3aa3657113ce43d2e8f4c506f8b4e7.tar.gz
bcm5719-llvm-1f0d0b2a4c3aa3657113ce43d2e8f4c506f8b4e7.zip
[Profile] Remove redundant call
llvm-svn: 306480
-rw-r--r--compiler-rt/lib/profile/InstrProfilingFile.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler-rt/lib/profile/InstrProfilingFile.c b/compiler-rt/lib/profile/InstrProfilingFile.c
index 75262109cbf..f99f86d890d 100644
--- a/compiler-rt/lib/profile/InstrProfilingFile.c
+++ b/compiler-rt/lib/profile/InstrProfilingFile.c
@@ -218,7 +218,6 @@ static FILE *openFileForMerging(const char *ProfileFileName) {
fclose(ProfileFile);
return NULL;
}
- fseek(ProfileFile, 0L, SEEK_SET);
return ProfileFile;
}
OpenPOWER on IntegriCloud