net: remove unnecessary return's
One of my pet coding style peeves is the practice of adding extra return; at the end of function. Kill several instances of this in network code. I suppose some coccinelle wizardy could do this automatically. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
45f7435968
commit
2045ceaed4
@@ -2082,7 +2082,6 @@ bad:
|
||||
pr_err("osdc handle_map corrupt msg\n");
|
||||
ceph_msg_dump(msg);
|
||||
up_write(&osdc->map_sem);
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -2281,7 +2280,6 @@ done_err:
|
||||
|
||||
bad:
|
||||
pr_err("osdc handle_watch_notify corrupt msg\n");
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user