]> git.baikalelectronics.ru Git - kernel.git/commit
platform: goldfish: pipe: Replace two code blocks with a function call
authorRoman Kiryanov <rkir@google.com>
Mon, 27 Aug 2018 18:23:06 +0000 (11:23 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Sep 2018 13:31:30 +0000 (15:31 +0200)
commit50c734232d21be4eff3cdf4743c707d139633841
tree6ed14e1fa92e0acd5cb0ee0e7fc4ade35a16a86a
parent52261abeaee02377f5289be2b6864b692fa56809
platform: goldfish: pipe: Replace two code blocks with a function call

Two function calls look cleaner because the function introduces
takes case of all bit shifting and casting.

Signed-off-by: Roman Kiryanov <rkir@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/platform/goldfish/goldfish_pipe.c