Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62809
b: refs/heads/master
c: 78f710d
h: refs/heads/master
i:
  62807: ba28556
v: v3
  • Loading branch information
Masakazu Mokuno authored and Jeff Garzik committed Jul 24, 2007
1 parent 8e8f701 commit 39be957
Show file tree
Hide file tree
Showing 3 changed files with 1 addition 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: b3bd6fe96da32e4e818b51826f04349cee9b15ba
refs/heads/master: 78f710dc186f34fb14d8b22a33749a56013e7b85
4 changes: 0 additions & 4 deletions trunk/drivers/net/ps3_gelic_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,6 @@ static int gelic_net_open(struct net_device *netdev)
return -ENOMEM;
}

#ifdef GELIC_NET_ETHTOOL
static void gelic_net_get_drvinfo (struct net_device *netdev,
struct ethtool_drvinfo *info)
{
Expand Down Expand Up @@ -1280,7 +1279,6 @@ static struct ethtool_ops gelic_net_ethtool_ops = {
.get_rx_csum = gelic_net_get_rx_csum,
.set_rx_csum = gelic_net_set_rx_csum,
};
#endif

/**
* gelic_net_tx_timeout_task - task scheduled by the watchdog timeout
Expand Down Expand Up @@ -1348,9 +1346,7 @@ static void gelic_net_setup_netdev_ops(struct net_device *netdev)
/* NAPI */
netdev->poll = &gelic_net_poll;
netdev->weight = GELIC_NET_NAPI_WEIGHT;
#ifdef GELIC_NET_ETHTOOL
netdev->ethtool_ops = &gelic_net_ethtool_ops;
#endif
}

/**
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/net/ps3_gelic_net.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
#ifndef _GELIC_NET_H
#define _GELIC_NET_H

#define GELIC_NET_ETHTOOL /* use ethtool */

/* descriptors */
#define GELIC_NET_RX_DESCRIPTORS 128 /* num of descriptors */
#define GELIC_NET_TX_DESCRIPTORS 128 /* num of descriptors */
Expand Down

0 comments on commit 39be957

Please sign in to comment.