diff options
author | Patrick McHardy <kaber@trash.net> | 2007-05-03 03:28:49 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-05-03 03:28:49 -0700 |
commit | dc1f6bff6a9d6733a07b9b97905bc824c055e8f4 (patch) | |
tree | 09c0ee7f91354b7d68ac2c0d6f53da6738530fdc /fs/afs/internal.h | |
parent | 4e9cac2ba437fcb093c7417b1cd91a77ebd1756a (diff) | |
download | linux-3.10-dc1f6bff6a9d6733a07b9b97905bc824c055e8f4.tar.gz linux-3.10-dc1f6bff6a9d6733a07b9b97905bc824c055e8f4.tar.bz2 linux-3.10-dc1f6bff6a9d6733a07b9b97905bc824c055e8f4.zip |
[AFS]: Replace rtnetlink client by direct dev_base walking
Replace the large and complicated rtnetlink client by two simple
functions for getting the MAC address for the first ethernet device
and building a list of IPv4 addresses.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/afs/internal.h')
-rw-r--r-- | fs/afs/internal.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/afs/internal.h b/fs/afs/internal.h index 3363e311a2f..551db896afc 100644 --- a/fs/afs/internal.h +++ b/fs/afs/internal.h @@ -349,7 +349,6 @@ struct afs_permits { * record of one of a system's set of network interfaces */ struct afs_interface { - unsigned index; /* interface index */ struct in_addr address; /* IPv4 address bound to interface */ struct in_addr netmask; /* netmask applied to address */ unsigned mtu; /* MTU of interface */ |