Skip to contentSkip to conversation

lance.c: cleanup not needed cast

PATCH New Douglas Schilling Landgraf 1 participant 1 message Mar 2, 2007 Kernel janitors

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lance.c: cleanup not needed cast

Removed unnecessary cast.

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
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors