afs: Eliminate the address pointer from the address list cursor
Eliminate the address pointer from the address list cursor as it's redundant (ac->addrs[ac->index] can be used to find the same address) and address lists must be replaced rather than being rearranged, so is of limited value. Signed-off-by: David Howells <dhowells@redhat.com>
This commit is contained in:
@@ -653,7 +653,6 @@ struct afs_interface {
|
||||
*/
|
||||
struct afs_addr_cursor {
|
||||
struct afs_addr_list *alist; /* Current address list (pins ref) */
|
||||
struct sockaddr_rxrpc *addr;
|
||||
u32 abort_code;
|
||||
unsigned short start; /* Starting point in alist->addrs[] */
|
||||
unsigned short index; /* Wrapping offset from start to current addr */
|
||||
|
Reference in New Issue
Block a user