Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210593
b: refs/heads/master
c: c9cedbb
h: refs/heads/master
i:
  210591: b8f99db
v: v3
  • Loading branch information
Dan Williams authored and David S. Miller committed Sep 10, 2010
1 parent 4468d12 commit db61564
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 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: 201b6bab6798fcd8ec1cb30165b91fdb89a91775
refs/heads/master: c9cedbba0fc591e1c0587f838932ca3f3c6fec57
7 changes: 1 addition & 6 deletions trunk/drivers/net/usb/ipheth.c
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,6 @@ static const struct net_device_ops ipheth_netdev_ops = {
.ndo_get_stats = &ipheth_stats,
};

static struct device_type ipheth_type = {
.name = "wwan",
};

static int ipheth_probe(struct usb_interface *intf,
const struct usb_device_id *id)
{
Expand All @@ -450,7 +446,7 @@ static int ipheth_probe(struct usb_interface *intf,

netdev->netdev_ops = &ipheth_netdev_ops;
netdev->watchdog_timeo = IPHETH_TX_TIMEOUT;
strcpy(netdev->name, "wwan%d");
strcpy(netdev->name, "eth%d");

dev = netdev_priv(netdev);
dev->udev = udev;
Expand Down Expand Up @@ -500,7 +496,6 @@ static int ipheth_probe(struct usb_interface *intf,

SET_NETDEV_DEV(netdev, &intf->dev);
SET_ETHTOOL_OPS(netdev, &ops);
SET_NETDEV_DEVTYPE(netdev, &ipheth_type);

retval = register_netdev(netdev);
if (retval) {
Expand Down

0 comments on commit db61564

Please sign in to comment.