Removing dead code in drivers/net/wan/hdlc_fr.c
authorCédric Augonnet <Cedric.Augonnet@ens-lyon.fr>
Sun, 20 Apr 2008 17:15:51 +0000 (19:15 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 25 Apr 2008 06:08:09 +0000 (02:08 -0400)
commit7cda1edf029370d396fb610f7e41fad9a7123164
treeab00fa02bcabe4e1777797637284c05c251ccf5f
parent6131a2601f42cd7fdbac0e960713396fe68af59f
Removing dead code in drivers/net/wan/hdlc_fr.c

The local variable "prefix" is never used anymore, and the content of
this string appears a bit later, directly in a call to "alloc_netdev"
after doing exactly the same if/else test. So there seems to be no
point keeping those 4 lines anymore.

Signed-off-by: Cédric Augonnet <cedric.augonnet@ens-lyon.org>
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/wan/hdlc_fr.c