diff options
author | Don Mullis <dwm@meer.net> | 2006-12-08 10:39:53 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 16:29:03 (GMT) |
commit | f1729c28a37e4f11ea5d9f468ab26adadb1aadab (patch) | |
tree | 0b4e6a6aa6bd44dee5a15269210e0aa5be8b3565 /drivers/dio/dio-sysfs.c | |
parent | a124c28ef85d9b780c418b2c5d8f01cd6a06ff3e (diff) | |
download | linux-f1729c28a37e4f11ea5d9f468ab26adadb1aadab.tar.xz |
[PATCH] fault-injection: optimize and simplify should_fail()
Trivial optimization and simplification of should_fail().
Do cheaper disqualification tests first (performance gain not quantified).
Simplify logic; eliminate goto.
Signed-off-by: Don Mullis <dwm@meer.net>
Cc: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/dio/dio-sysfs.c')
0 files changed, 0 insertions, 0 deletions