diff --git a/[refs] b/[refs] index 1b2ab389d871..5096d8274a4f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: cd6fb584cf7f18ec6b221192b57d712ecc8c1859 +refs/heads/master: 60564a313a5738960064d6c555ec066d9332f278 diff --git a/trunk/drivers/block/cciss.c b/trunk/drivers/block/cciss.c index d5d0fa538f12..653512b77570 100644 --- a/trunk/drivers/block/cciss.c +++ b/trunk/drivers/block/cciss.c @@ -791,13 +791,6 @@ static int cciss_ioctl(struct inode *inode, struct file *filep, luninfo.LunID = drv->LunID; luninfo.num_opens = drv->usage_count; luninfo.num_parts = 0; - /* count partitions 1 to 15 with sizes > 0 */ - for (i = 0; i < MAX_PART - 1; i++) { - if (!disk->part[i]) - continue; - if (disk->part[i]->nr_sects != 0) - luninfo.num_parts++; - } if (copy_to_user(argp, &luninfo, sizeof(LogvolInfo_struct))) return -EFAULT;