https://github.com/torvalds/linux
Revision 3dca1471993f9b89f3184468f8bbab2b1e024451 authored by Roland Dreier on 03 February 2014, 22:08:26 UTC, committed by Nicholas Bellinger on 12 February 2014, 23:14:30 UTC
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>
1 parent a80e21b
History
Tip revision: 3dca1471993f9b89f3184468f8bbab2b1e024451 authored by Roland Dreier on 03 February 2014, 22:08:26 UTC
target: Simplify command completion by removing CMD_T_FAILED flag
Tip revision: 3dca147
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.3 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 266.4 KB
Makefile -rw-r--r-- 49.1 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top