Commit e332a20e authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] reorganize for unreachable code

From:  Scott Russell <scott@pantastik.com>

  - moved return to eliminate unreachable code reported by kbugs.org
parent 01b72bb3
...@@ -193,11 +193,11 @@ static int bpck6_probe_unit ( PIA *pi ) ...@@ -193,11 +193,11 @@ static int bpck6_probe_unit ( PIA *pi )
if(out) if(out)
{ {
ppc6_close(PPCSTRUCT(pi)); ppc6_close(PPCSTRUCT(pi));
return(1);
if(verbose) if(verbose)
{ {
printk(KERN_DEBUG "leaving probe\n"); printk(KERN_DEBUG "leaving probe\n");
} }
return(1);
} }
else else
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment