Arnd Bergmann e9663b13c8 MIPS: Octeon: Avoid empty-body warning
gcc-6 reports a harmless build warning:

arch/mips/cavium-octeon/dma-octeon.c: In function 'octeon_dma_alloc_coherent':
arch/mips/cavium-octeon/dma-octeon.c:179:3: error: suggest braces around empty body in an 'else' statement [-Werror=empty-body]

We can fix this by rearranging the code slightly using the
IS_ENABLED() macro.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Hans-Christian Noren Egtvedt <egtvedt@samfundet.no>
Cc: Vineet Gupta <vgupta@synopsys.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/15048
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2017-01-25 02:51:11 +01:00
..
2016-02-19 09:51:43 +01:00
2017-01-03 16:34:39 +01:00
2016-10-06 17:31:02 +02:00
2016-08-03 08:16:30 +02:00
2016-04-03 12:32:09 +02:00
2017-01-24 18:30:35 +01:00
2017-01-24 18:30:35 +01:00
2016-05-28 12:35:09 +02:00
2015-11-11 08:36:36 +01:00
2017-01-25 02:51:09 +01:00