Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 262748
b: refs/heads/master
c: aba8d05
h: refs/heads/master
v: v3
  • Loading branch information
Jonathan Nieder authored and Arnaldo Carvalho de Melo committed Aug 8, 2011
1 parent 808ce50 commit 7683ecb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8b7e0b34b8e94f34597e4b804bbb8bb7e27df040
refs/heads/master: aba8d056078e47350d85b06a9cabd5afcc4b72ea
7 changes: 0 additions & 7 deletions trunk/tools/perf/util/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,6 @@ static int perf_config_global(void)
int perf_config(config_fn_t fn, void *data)
{
int ret = 0, found = 0;
char *repo_config = NULL;
const char *home = NULL;

/* Setting $PERF_CONFIG makes perf read _only_ the given config file. */
Expand All @@ -421,12 +420,6 @@ int perf_config(config_fn_t fn, void *data)
free(user_config);
}

repo_config = perf_pathdup("config");
if (!access(repo_config, R_OK)) {
ret += perf_config_from_file(fn, repo_config, data);
found += 1;
}
free(repo_config);
if (found == 0)
return -1;
return ret;
Expand Down

0 comments on commit 7683ecb

Please sign in to comment.