dma-buf: Combine two function calls into one in dma_buf_debug_show()
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 8 May 2017 08:32:44 +0000 (10:32 +0200)
committerSumit Semwal <sumit.semwal@linaro.org>
Mon, 8 May 2017 15:20:21 +0000 (20:50 +0530)
commit9eddb41dbe98b4854e64a69b686ace734c2c7aa0
tree19ec73e9e3333980fad4a1669003cabfef339ee6
parent8f6e1e22e7d0d4697120e82845036db4f9e4de5b
dma-buf: Combine two function calls into one in dma_buf_debug_show()

A bit of data was put into a sequence by two separate function calls.
Print the same data by a single function call instead.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.com>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
drivers/dma-buf/dma-buf.c