Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 122240
b: refs/heads/master
c: 4be7ef4
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Nov 26, 2008
1 parent d88f660 commit 91f27cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0ec4d4fe413f4d16fb35a326a2dcf912872abcc8
refs/heads/master: 4be7ef4eac1d96a61af62bda8a59c1fb78c3b31b
22 changes: 1 addition & 21 deletions trunk/drivers/net/hp.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ static unsigned int hppclan_portlist[] __initdata =

static int hp_probe1(struct net_device *dev, int ioaddr);

static int hp_open(struct net_device *dev);
static int hp_close(struct net_device *dev);
static void hp_reset_8390(struct net_device *dev);
static void hp_get_8390_hdr(struct net_device *dev, struct e8390_pkt_hdr *hdr,
int ring_page);
Expand Down Expand Up @@ -198,11 +196,7 @@ static int __init hp_probe1(struct net_device *dev, int ioaddr)

/* Set the base address to point to the NIC, not the "real" base! */
dev->base_addr = ioaddr + NIC_OFFSET;
dev->open = &hp_open;
dev->stop = &hp_close;
#ifdef CONFIG_NET_POLL_CONTROLLER
dev->poll_controller = eip_poll;
#endif
dev->netdev_ops = &eip_netdev_ops;

ei_status.name = name;
ei_status.word16 = wordmode;
Expand All @@ -227,20 +221,6 @@ static int __init hp_probe1(struct net_device *dev, int ioaddr)
return retval;
}

static int
hp_open(struct net_device *dev)
{
eip_open(dev);
return 0;
}

static int
hp_close(struct net_device *dev)
{
eip_close(dev);
return 0;
}

static void
hp_reset_8390(struct net_device *dev)
{
Expand Down

0 comments on commit 91f27cd

Please sign in to comment.