minor coding style cleanup.
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 Apr 2010 19:04:43 +0000 (12:04 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 Apr 2010 19:04:43 +0000 (12:04 -0700)
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
bti.c

diff --git a/bti.c b/bti.c
index c0c5804..201d56f 100644 (file)
--- a/bti.c
+++ b/bti.c
@@ -190,7 +190,8 @@ static void session_readline_init(struct session *session)
                        *next++ = 0;
                if (*cp == 0)
                        continue;
-               if ((handle = dlopen(cp, RTLD_NOW))) {
+               handle = dlopen(cp, RTLD_NOW);
+               if (handle) {
                        dbg("Using %s for readline library\n", cp);
                        break;
                }