diff options
Diffstat (limited to 'fs/lockd/host.c')
-rw-r--r-- | fs/lockd/host.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/lockd/host.c b/fs/lockd/host.c index 33bf67af7aba..beb5da810167 100644 --- a/fs/lockd/host.c +++ b/fs/lockd/host.c | |||
@@ -112,9 +112,6 @@ static void nlm_display_address(const struct sockaddr *sap, | |||
112 | const struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)sap; | 112 | const struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)sap; |
113 | 113 | ||
114 | switch (sap->sa_family) { | 114 | switch (sap->sa_family) { |
115 | case AF_UNSPEC: | ||
116 | snprintf(buf, len, "unspecified"); | ||
117 | break; | ||
118 | case AF_INET: | 115 | case AF_INET: |
119 | snprintf(buf, len, "%pI4", &sin->sin_addr.s_addr); | 116 | snprintf(buf, len, "%pI4", &sin->sin_addr.s_addr); |
120 | break; | 117 | break; |