slcan: remove obsolete code in slcan initialisation
authorOliver Hartkopp <socketcan@hartkopp.net>
Thu, 14 Jul 2011 21:49:19 +0000 (21:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Jul 2011 15:08:26 +0000 (08:08 -0700)
commit2af4ba85913bb1755a06193109917c3ddc130265
tree2bc140b52c0c5826ba10cf7c70b9f9007916bc32
parent8279171a5fe95902be12f4018907f246d51616d4
slcan: remove obsolete code in slcan initialisation

This patch removes obsolete code in the initialisation/creation of
slcan devices.

It follows the suggested cleanups from Ilya Matvejchikov in
drivers/net/slip.c that where recently applied to net-next-2.6:

- slip: remove dead code within the slip initialization
- slip: remove redundant check slip_devs for NULL

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/slcan.c