commit | 9b22271d4b8c1be8a81563c322d3f04e7cbe2153 | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | Wed Feb 14 00:33:05 2007 -0800 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Wed Feb 14 08:09:52 2007 -0800 |
tree | 273fb795f79259cc9fb30c1063719e078b3fa88d | |
parent | 40b36daad0ac704e6d5c1b75789f371ef5b053c1 [diff] |
[PATCH] serial: trivial code flow simplification Return failure immediately, so we don't have to test it twice. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Cc: Adam Belay <ambx1@neo.rr.com> Cc: Russell King <rmk@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>