diff options
author | Roland Dreier <roland@purestorage.com> | 2014-02-03 14:08:26 -0800 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-02-12 15:14:30 -0800 |
commit | 3dca1471993f9b89f3184468f8bbab2b1e024451 (patch) | |
tree | 52df51e9575fad725864d22cf30846c97e056dac /kernel/locking/spinlock_debug.c | |
parent | a80e21b3b2d151d79bb9be42334ab10d40195324 (diff) | |
download | linux-3dca1471993f9b89f3184468f8bbab2b1e024451.tar.bz2 |
target: Simplify command completion by removing CMD_T_FAILED flag
The CMD_T_FAILED flag is set used in one place to record the result of a
trivial test, and it is only tested once, few lines later. We might as
well make the code simpler and easier to read by directly doing the test
of "success" where we want to use it.
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'kernel/locking/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions