]> git.karo-electronics.de Git - linux-beck.git/commit
staging: lustre: lnet: Rewrite return statement in socklnd.c
authorLisa Nguyen <lisa@xenapiadmin.com>
Mon, 28 Oct 2013 00:55:05 +0000 (17:55 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Oct 2013 03:36:44 +0000 (20:36 -0700)
commit6a123705d8eb121b648b5c436fa4d6ccfcd152ee
treef687dc70d21056c4d3b4380f575f2d2f557c26d6
parent1f5586475dfac0c2ca79c4c63fb281992165c51c
staging: lustre: lnet: Rewrite return statement in socklnd.c

Rewrite the return statement in socklnd.c to eliminate the
use of a ternary operator. This will prevent the checkpatch.pl
script from generating a warning saying to remove () from
this particular return statement.

Signed-off-by: Lisa Nguyen <lisa@xenapiadmin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c