Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame^] | 1 | From 142f40b80ea908831ef7a4d694cec6a5985a0724 Mon Sep 17 00:00:00 2001 |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 2 | From: Ed Bartosh <ed.bartosh@linux.intel.com> |
| 3 | Date: Tue, 13 Jun 2017 14:55:52 +0300 |
| 4 | Subject: [PATCH] Disabled reading host configs. |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 5 | |
| 6 | Upstream-Status: Inappropriate [native] |
| 7 | |
| 8 | Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> |
| 9 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 10 | --- |
| 11 | config.c | 8 -------- |
| 12 | 1 file changed, 8 deletions(-) |
| 13 | |
| 14 | diff --git a/config.c b/config.c |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 15 | index 173eae0..0654cc1 100644 |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 16 | --- a/config.c |
| 17 | +++ b/config.c |
Andrew Geissler | 5f35090 | 2021-07-23 13:09:54 -0400 | [diff] [blame] | 18 | @@ -836,14 +836,6 @@ void read_config(void) |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 19 | memcpy(devices, const_devices, |
| 20 | nr_const_devices*sizeof(struct device)); |
| 21 | |
| 22 | - (void) ((parse(CONF_FILE,1) | |
| 23 | - parse(LOCAL_CONF_FILE,1) | |
| 24 | - parse(SYS_CONF_FILE,1)) || |
| 25 | - (parse(OLD_CONF_FILE,1) | |
| 26 | - parse(OLD_LOCAL_CONF_FILE,1))); |
| 27 | - /* the old-name configuration files only get executed if none of the |
| 28 | - * new-name config files were used */ |
| 29 | - |
| 30 | homedir = get_homedir(); |
| 31 | if ( homedir ){ |
| 32 | strncpy(conf_file, homedir, MAXPATHLEN ); |