diff --git a/drivers/staging/dgap/dgap_mgmt.c b/drivers/staging/dgap/dgap_mgmt.c index 1147f1d425fb6d83694d9b45f6215e9ff8a0e8ef..dce33d4ae6042b1ca40ff8c85fa89d192220e55a 100644 --- a/drivers/staging/dgap/dgap_mgmt.c +++ b/drivers/staging/dgap/dgap_mgmt.c @@ -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;