armv7/sxie: unused global

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

armv7/sxie: unused global

Artturi Alm
Hi,

one less useless leftover.

-Artturi


diff --git a/sys/arch/armv7/sunxi/sxie.c b/sys/arch/armv7/sunxi/sxie.c
index 0e062bac1fb..2ac4dda7c6b 100644
--- a/sys/arch/armv7/sunxi/sxie.c
+++ b/sys/arch/armv7/sunxi/sxie.c
@@ -168,8 +168,6 @@ struct sxie_softc {
  uint32_t txf_inuse;
 };
 
-struct sxie_softc *sxie_sc;
-
 int sxie_match(struct device *, void *, void *);
 void sxie_attach(struct device *, struct device *, void *);
 void sxie_setup_interface(struct sxie_softc *, struct device *);
@@ -271,8 +269,6 @@ sxie_attach(struct device *parent, struct device *self, void *aux)
  if_attach(ifp);
  ether_ifattach(ifp);
  splx(s);
-
- sxie_sc = sc;
 }
 
 void