Thread (2 messages) flat view 2 messages, 2 authors, 2011-07-13

Re: [PATCH 4/4] slip: remove dead code within the slip initialization

From: David Miller <davem@davemloft.net>
Date: 2011-07-13 09:32:44

From: Matvejchikov Ilya <redacted>
Date: Wed, 13 Jul 2011 11:47:38 +0400
This following code contains a dead "if (dev).." block:
...
The reason is that the code starting with "if (dev).." is never called as
when we found an empty slot (dev == NULL) we break the loop and "if (dev).."
not works eiter the loop ends and we get out with "i >= slip_maxdev".

Signed-off-by: Matvejchikov Ilya <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help