}
 EXPORT_SYMBOL_GPL(__sdhci_read_caps);
 
-static int sdhci_allocate_bounce_buffer(struct sdhci_host *host)
+static void sdhci_allocate_bounce_buffer(struct sdhci_host *host)
 {
        struct mmc_host *mmc = host->mmc;
        unsigned int max_blocks;
                 * Exiting with zero here makes sure we proceed with
                 * mmc->max_segs == 1.
                 */
-               return 0;
+               return;
        }
 
        host->bounce_addr = dma_map_single(mmc->parent,
        ret = dma_mapping_error(mmc->parent, host->bounce_addr);
        if (ret)
                /* Again fall back to max_segs == 1 */
-               return 0;
+               return;
        host->bounce_buffer_size = bounce_size;
 
        /* Lie about this since we're bouncing */
 
        pr_info("%s bounce up to %u segments into one, max segment size %u bytes\n",
                mmc_hostname(mmc), max_blocks, bounce_size);
-
-       return 0;
 }
 
 static inline bool sdhci_can_64bit_dma(struct sdhci_host *host)
         */
        mmc->max_blk_count = (host->quirks & SDHCI_QUIRK_NO_MULTIBLOCK) ? 1 : 65535;
 
-       if (mmc->max_segs == 1) {
+       if (mmc->max_segs == 1)
                /* This may alter mmc->*_blk_* parameters */
-               ret = sdhci_allocate_bounce_buffer(host);
-               if (ret)
-                       return ret;
-       }
+               sdhci_allocate_bounce_buffer(host);
 
        return 0;