Avoided unused variable warnings.

This commit is contained in:
Florian Pose 2012-01-09 17:41:52 +01:00
parent 81d2013787
commit 70b1505670
1 changed files with 1 additions and 1 deletions

View File

@ -2713,7 +2713,7 @@ static void e100_diag_test(struct net_device *netdev,
{
struct ethtool_cmd cmd;
struct nic *nic = netdev_priv(netdev);
int i, err;
int i, err __attribute__ ((unused));
memset(data, 0, E100_TEST_LEN * sizeof(u64));
data[0] = !mii_link_ok(&nic->mii);