Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
[sfrench/cifs-2.6.git] / drivers / memstick / core / mspro_block.c
index 8897962781bb1ad861a7a3b392f6ff881b78f5ec..5ee932631faed7230edfcdd33f6e13b9be25b115 100644 (file)
@@ -1170,17 +1170,12 @@ static int mspro_block_init_card(struct memstick_dev *card)
 static int mspro_block_init_disk(struct memstick_dev *card)
 {
        struct mspro_block_data *msb = memstick_get_drvdata(card);
-       struct memstick_host *host = card->host;
        struct mspro_devinfo *dev_info = NULL;
        struct mspro_sys_info *sys_info = NULL;
        struct mspro_sys_attr *s_attr = NULL;
        int rc, disk_id;
-       u64 limit = BLK_BOUNCE_HIGH;
        unsigned long capacity;
 
-       if (host->dev.dma_mask && *(host->dev.dma_mask))
-               limit = *(host->dev.dma_mask);
-
        for (rc = 0; msb->attr_group.attrs[rc]; ++rc) {
                s_attr = mspro_from_sysfs_attr(msb->attr_group.attrs[rc]);
 
@@ -1219,7 +1214,6 @@ static int mspro_block_init_disk(struct memstick_dev *card)
 
        msb->queue->queuedata = card;
 
-       blk_queue_bounce_limit(msb->queue, limit);
        blk_queue_max_hw_sectors(msb->queue, MSPRO_BLOCK_MAX_PAGES);
        blk_queue_max_segments(msb->queue, MSPRO_BLOCK_MAX_SEGS);
        blk_queue_max_segment_size(msb->queue,