[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110713.023242.858769644416598710.davem@davemloft.net>
Date: Wed, 13 Jul 2011 02:32:42 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: matvejchikov@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 4/4] slip: remove dead code within the slip
initialization
From: Matvejchikov Ilya <matvejchikov@...il.com>
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 <matvejchikov@...il.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists