diff options
author | Daeseok Youn <daeseok.youn@gmail.com> | 2014-08-09 14:38:41 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-16 12:23:06 -0700 |
commit | f6aa0164cd3b1c5192e87f5651ec382c3bc3abac (patch) | |
tree | 3003b2fbe78a4e896ad3aafe8eef5750f9080a06 /drivers/staging/dgap/dgap.h | |
parent | staging: dgap: Simplify set a board type from configration file (diff) | |
download | linux-dev-f6aa0164cd3b1c5192e87f5651ec382c3bc3abac.tar.xz linux-dev-f6aa0164cd3b1c5192e87f5651ec382c3bc3abac.zip |
staging: dgap: Simplify to set a concentrator type
It is same manner with setting a board type.
For example of config file for concentrator,
"conc ccon" or
"conc epcon"
After allocating a type of "CNODE" then set a type of concentrator.
So remove cases in swith statement, just get a token from string
and set to "conc.type". And also it doesn't need to "conc.v_type".
Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgap/dgap.h')
-rw-r--r-- | drivers/staging/dgap/dgap.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/dgap/dgap.h b/drivers/staging/dgap/dgap.h index c01aa2820660..800f4077fe36 100644 --- a/drivers/staging/dgap/dgap.h +++ b/drivers/staging/dgap/dgap.h @@ -1206,7 +1206,6 @@ struct cnode { char *id; char *idstr; long start; - char v_type; char v_connect; char v_speed; char v_nport; |