summaryrefslogtreecommitdiffstats
path: root/fs/afs/internal.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-05-03 03:28:49 -0700
committerDavid S. Miller <davem@davemloft.net>2007-05-03 03:28:49 -0700
commitdc1f6bff6a9d6733a07b9b97905bc824c055e8f4 (patch)
tree09c0ee7f91354b7d68ac2c0d6f53da6738530fdc /fs/afs/internal.h
parent4e9cac2ba437fcb093c7417b1cd91a77ebd1756a (diff)
downloadlinux-dc1f6bff6a9d6733a07b9b97905bc824c055e8f4.tar.bz2
[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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/afs/internal.h b/fs/afs/internal.h
index 3363e311a2f7..551db896afc9 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 */