diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2012-12-25 12:06:04 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-07 13:31:28 -0500 |
commit | fecb0d584ee96fb2ab3c65825029a66a23ee7e31 (patch) | |
tree | b9d421348a665dc452130b1a92707c69ecbb9063 /drivers/misc/mei | |
parent | 47a73801f498883ea3acccb8f6ff1b5c7a3553de (diff) |
mei: kill not used BAR0 length and base variables
1. mem_base and mem_length are not used so we can delete
them
2. add kdoc for mem_addr member of mei_device
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei')
-rw-r--r-- | drivers/misc/mei/mei_dev.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/misc/mei/mei_dev.h b/drivers/misc/mei/mei_dev.h index f0b02ba89ade..6ea430e49f13 100644 --- a/drivers/misc/mei/mei_dev.h +++ b/drivers/misc/mei/mei_dev.h | |||
@@ -201,6 +201,7 @@ struct mei_cl { | |||
201 | 201 | ||
202 | /** | 202 | /** |
203 | * struct mei_device - MEI private device struct | 203 | * struct mei_device - MEI private device struct |
204 | * @mem_addr - mem mapped base register address | ||
204 | * @hbuf_depth - depth of host(write) buffer | 205 | * @hbuf_depth - depth of host(write) buffer |
205 | * @wr_ext_msg - buffer for hbm control responses (set in read cycle) | 206 | * @wr_ext_msg - buffer for hbm control responses (set in read cycle) |
206 | */ | 207 | */ |
@@ -221,11 +222,7 @@ struct mei_device { | |||
221 | */ | 222 | */ |
222 | struct list_head file_list; | 223 | struct list_head file_list; |
223 | long open_handle_count; | 224 | long open_handle_count; |
224 | /* | 225 | |
225 | * memory of device | ||
226 | */ | ||
227 | unsigned int mem_base; | ||
228 | unsigned int mem_length; | ||
229 | void __iomem *mem_addr; | 226 | void __iomem *mem_addr; |
230 | /* | 227 | /* |
231 | * lock for the device | 228 | * lock for the device |