block: Consolidate phys_segment and hw_segment limits
[linux-2.6.git] / drivers / block / paride / pf.c
index ea54ea3..ddb4f9a 100644 (file)
@@ -956,8 +956,7 @@ static int __init pf_init(void)
                return -ENOMEM;
        }
 
-       blk_queue_max_phys_segments(pf_queue, cluster);
-       blk_queue_max_hw_segments(pf_queue, cluster);
+       blk_queue_max_segments(pf_queue, cluster);
 
        for (pf = units, unit = 0; unit < PF_UNITS; pf++, unit++) {
                struct gendisk *disk = pf->disk;