mirror of https://gitee.com/openkylin/linux.git
staging: dgap: mgmt.c: removes unused variable
This patch removes the unused variable page in mgmt.c. Signed-off-by: Lidza Louina <lidza.louina@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
038bc7ac70
commit
6c2f9ab53c
|
@ -607,7 +607,6 @@ int dgap_mgmt_ioctl(struct inode *inode, struct file *file, unsigned int cmd, un
|
|||
|
||||
/* If the concentrator number is 0... */
|
||||
if (kme.rw_conc == 0 && kme.rw_addr < 0x100000) {
|
||||
int page = 0;
|
||||
int addr = kme.rw_addr;
|
||||
int size = kme.rw_size;
|
||||
caddr_t data = (caddr_t) kme.rw_data;
|
||||
|
|
Loading…
Reference in New Issue