# Re: \[PATCH 05/10\] dma: tx49 removal

- From: Joe Perches \<joe@perches.com\>
- Date: 2021-01-06 19:11:28 
- List: linux-ide
- Page: https://ratatoskr.run/linux-ide/2021/01/6225767
- Thread: https://ratatoskr.run/linux-mips/2021/01/6224367/t.md

```text
On Tue, 2021-01-05 at 15:02 +0100, Thomas Bogendoerfer wrote:
> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
[]
> diff --git a/drivers/dma/txx9dmac.h b/drivers/dma/txx9dmac.h
[]
> @@ -26,11 +26,6 @@
>   * DMA channel.
>   */
>  
> 
> -#ifdef CONFIG_MACH_TX49XX
> -static inline bool txx9_dma_have_SMPCHN(void)
> -{
> -	return true;
> -}
>  #define TXX9_DMA_USE_SIMPLE_CHAIN
>  #else
>  static inline bool txx9_dma_have_SMPCHN(void)

This doesn't look like it compiles as there's now an #else
without an #if


```
