Re: [PATCH] mmc: queue: add #ifdef around bounce buffer code

2016-12-01 Thread Ulf Hansson
On 30 November 2016 at 22:03, Arnd Bergmann wrote: > The two functions that got split out from the bounce > buffer handling are now unused when CONFIG_MMC_BLOCK_BOUNCE > is disabled: > > mmc/card/queue.c:212:12: error: 'mmc_queue_alloc_bounce_sgs' defined but not > used

Re: [PATCH] mmc: queue: add #ifdef around bounce buffer code

2016-12-01 Thread Ulf Hansson
On 30 November 2016 at 22:03, Arnd Bergmann wrote: > The two functions that got split out from the bounce > buffer handling are now unused when CONFIG_MMC_BLOCK_BOUNCE > is disabled: > > mmc/card/queue.c:212:12: error: 'mmc_queue_alloc_bounce_sgs' defined but not > used [-Werror=unused-function]