diff options
Diffstat (limited to 'fs/nfs/super.c')
-rw-r--r-- | fs/nfs/super.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c index b99096b8e827..20dc4ccdff56 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c | |||
@@ -716,8 +716,6 @@ static void nfs_parse_ipv4_address(char *string, size_t str_len, | |||
716 | *addr_len = 0; | 716 | *addr_len = 0; |
717 | } | 717 | } |
718 | 718 | ||
719 | #define IPV6_SCOPE_DELIMITER '%' | ||
720 | |||
721 | #if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE) | 719 | #if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE) |
722 | static void nfs_parse_ipv6_scope_id(const char *string, const size_t str_len, | 720 | static void nfs_parse_ipv6_scope_id(const char *string, const size_t str_len, |
723 | const char *delim, | 721 | const char *delim, |
@@ -790,7 +788,7 @@ static void nfs_parse_ipv6_address(char *string, size_t str_len, | |||
790 | * If there is a problem constructing the new sockaddr, set the address | 788 | * If there is a problem constructing the new sockaddr, set the address |
791 | * family to AF_UNSPEC. | 789 | * family to AF_UNSPEC. |
792 | */ | 790 | */ |
793 | static void nfs_parse_ip_address(char *string, size_t str_len, | 791 | void nfs_parse_ip_address(char *string, size_t str_len, |
794 | struct sockaddr *sap, size_t *addr_len) | 792 | struct sockaddr *sap, size_t *addr_len) |
795 | { | 793 | { |
796 | unsigned int i, colons; | 794 | unsigned int i, colons; |