aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorMichal Nazarewicz <[email protected]>2016-01-04 22:36:40 +0100
committerGreg Kroah-Hartman <[email protected]>2016-02-09 17:39:33 -0800
commit9e5b3d6f7f946a3fb4d83ac2ab6d2bfefcdafffb (patch)
tree61274c147cc40a10d6afe15a52332cf01d81c196 /lib/mpi/mpi-bit.c
parent92aed5d6ba90c2031c8d321a02e7af3d4cb05b8d (diff)
drivers: dma-coherent: simplify dma_init_coherent_memory return value
Since only dma_declare_coherent_memory cares about dma_init_coherent_memory returning part of flags as it return value, move the condition to the former and simplify the latter. This in turn makes rmem_dma_device_init less confusing. Reported-by: Fugang Duan <[email protected]> Signed-off-by: Michal Nazarewicz <[email protected]> Acked-by: Marek Szyprowski <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions