diff options
author | Jean Delvare <khali@linux-fr.org> | 2007-06-25 14:21:01 +0000 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2007-06-25 14:21:01 +0000 |
commit | 24f6b62c3fdf189ac6932fcae5615829dd5c9ef6 (patch) | |
tree | 1b664ca0f79e62cc6efc612f54ca14f4e422cdc3 /lib/conf-parse.y | |
parent | f00aef92719ea15bad7c3992d30ac2600be20b80 (diff) | |
download | lm-sensors-git-24f6b62c3fdf189ac6932fcae5615829dd5c9ef6.tar.gz |
Delete all remnants of algorithm names.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4465 7894878c-1315-0410-8ee3-d5d059ff63e0
Diffstat (limited to 'lib/conf-parse.y')
-rw-r--r-- | lib/conf-parse.y | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/conf-parse.y b/lib/conf-parse.y index 5ae50e58..88a1cf49 100644 --- a/lib/conf-parse.y +++ b/lib/conf-parse.y @@ -120,7 +120,6 @@ static sensors_chip *current_chip = NULL; %type <expr> expression %type <bus> i2cbus_name %type <name> adapter_name -%type <name> algorithm_name %type <name> function_name %type <name> string %type <chip> chip_name @@ -134,7 +133,6 @@ input: /* empty */ ; line: bus_statement EOL - | busalgo_statement EOL | label_statement EOL | set_statement EOL | chip_statement EOL @@ -152,17 +150,6 @@ bus_statement: BUS i2cbus_name adapter_name } ; -/* for compatibility, deprecated */ -busalgo_statement: BUS i2cbus_name adapter_name algorithm_name - { sensors_bus new_el; - new_el.lineno = $1; - new_el.number = $2; - new_el.adapter = $3; - free($4); - bus_add_el(&new_el); - } -; - label_statement: LABEL function_name string { sensors_label new_el; check_current_chip(); @@ -315,11 +302,6 @@ adapter_name: NAME $$ = $1; } ; -algorithm_name: NAME - { sensors_strip_of_spaces($1); - $$ = $1; } -; - function_name: NAME { $$ = $1; } ; |