mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-09-22 10:03:51 +08:00
Avoided unused variable warnings.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user