Commit 6c2f9ab5 authored by Lidza Louina's avatar Lidza Louina Committed by Greg Kroah-Hartman

staging: dgap: mgmt.c: removes unused variable

This patch removes the unused variable page
in mgmt.c.
Signed-off-by: default avatarLidza Louina <lidza.louina@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 038bc7ac
...@@ -607,7 +607,6 @@ int dgap_mgmt_ioctl(struct inode *inode, struct file *file, unsigned int cmd, un ...@@ -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 the concentrator number is 0... */
if (kme.rw_conc == 0 && kme.rw_addr < 0x100000) { if (kme.rw_conc == 0 && kme.rw_addr < 0x100000) {
int page = 0;
int addr = kme.rw_addr; int addr = kme.rw_addr;
int size = kme.rw_size; int size = kme.rw_size;
caddr_t data = (caddr_t) kme.rw_data; caddr_t data = (caddr_t) kme.rw_data;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment