mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 04:19:23 -04:00
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:
committed by
Greg Kroah-Hartman
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;
|
||||
|
||||
Reference in New Issue
Block a user