lance.c: cleanup not needed cast
PATCH 1/1 lance.c: cleanup not needed cast
Removed unnecessary cast.
Signed-off-by Douglas Schilling Landgraf <[email protected]>
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