[PATCH] cciss_ioctl() warning fix
Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
61998bcb4b
commit
97afa0a25a
|
@ -786,7 +786,6 @@ static int cciss_ioctl(struct inode *inode, struct file *filep,
|
||||||
|
|
||||||
case CCISS_GETLUNINFO: {
|
case CCISS_GETLUNINFO: {
|
||||||
LogvolInfo_struct luninfo;
|
LogvolInfo_struct luninfo;
|
||||||
int i;
|
|
||||||
|
|
||||||
luninfo.LunID = drv->LunID;
|
luninfo.LunID = drv->LunID;
|
||||||
luninfo.num_opens = drv->usage_count;
|
luninfo.num_opens = drv->usage_count;
|
||||||
|
|
Loading…
Reference in New Issue