commit | c650ba7377ad3602b3fad8651ceeec8a20b74b17 | [log] [tgz] |
---|---|---|
author | Tina Ruchandani <ruchandani.tina@gmail.com> | Sat Oct 25 16:35:49 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Oct 27 18:55:00 2014 +0800 |
tree | 63af330c8a4c63e66378521bc8a0f6d813fec2e5 | |
parent | f526b20adf27f0a78c643b3fd7c4efc9687d313e [diff] |
Staging: lustre: llite: Simplify error handling This patch fixes the following checkpatch error: ERROR: do not use assignment in if condition 2172: FILE: drivers/staging/lustre/lustre/llite/llite_lib.c:2172: if (!inode || !(sbi = ll_i2sbi(inode))) { Signed-off-by: Tina Ruchandani <ruchandani.tina@gmail.com> Suggested-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>