OSDN Git Service

staging: greybus: compress return logic
authorArushi Singhal <arushisinghal19971997@gmail.com>
Sat, 25 Mar 2017 05:20:07 +0000 (10:50 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Mar 2017 12:24:49 +0000 (14:24 +0200)
commit5c143123321cd30553528e92ef7353f8488a461d
tree36d4c86409f25e889e1b404743ec398ca4a086f1
parent0d6ff6164977d3f205bc59b6df6fce0779b0c131
staging: greybus: compress return logic

Simplify function returns by merging assignment and return.

Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/loopback.c