All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] [PATCH] lance.c: cleanup not needed cast
@ 2007-03-02  4:05 Douglas Schilling Landgraf
  0 siblings, 0 replies; only message in thread
From: Douglas Schilling Landgraf @ 2007-03-02  4:05 UTC (permalink / raw)
  To: kernel-janitors

Removed unnecessary cast.

Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>

Index: linux-2.6.20.1/drivers/net/lance.c
=================================--- linux-2.6.20.1.orig/drivers/net/lance.c
+++ linux-2.6.20.1/drivers/net/lance.c
@@ -910,7 +910,7 @@ lance_restart(struct net_device *dev, un
 
 static void lance_tx_timeout (struct net_device *dev)
 {
-	struct lance_private *lp = (struct lance_private *) dev->priv;
+	struct lance_private *lp = dev->priv;
 	int ioaddr = dev->base_addr;
 
 	outw (0, ioaddr + LANCE_ADDR);
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-03-02  4:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-02  4:05 [KJ] [PATCH] lance.c: cleanup not needed cast Douglas Schilling Landgraf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.