blob: 57be93548707cb60cc4d241457b116d04fb7a618 [file] [log] [blame]
Patrick Williams7784c422022-11-17 07:29:11 -06001From 2ef9b371a5cc44e730143e694d71665831fac216 Mon Sep 17 00:00:00 2001
Brad Bishop19323692019-04-05 15:28:33 -04002From: Ed Bartosh <ed.bartosh@linux.intel.com>
3Date: Tue, 13 Jun 2017 14:55:52 +0300
4Subject: [PATCH] Disabled reading host configs.
Brad Bishopd7bf8c12018-02-25 22:55:05 -05005
6Upstream-Status: Inappropriate [native]
7
8Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9
Brad Bishop19323692019-04-05 15:28:33 -040010---
11 config.c | 8 --------
12 1 file changed, 8 deletions(-)
13
14diff --git a/config.c b/config.c
Patrick Williams7784c422022-11-17 07:29:11 -060015index 2f6a297..3181ed7 100644
Brad Bishop19323692019-04-05 15:28:33 -040016--- a/config.c
17+++ b/config.c
Patrick Williams7784c422022-11-17 07:29:11 -060018@@ -844,14 +844,6 @@ void read_config(void)
Brad Bishopd7bf8c12018-02-25 22:55:05 -050019 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 );