diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sunrpc/svc_xprt.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/sunrpc/svc_xprt.h b/include/linux/sunrpc/svc_xprt.h index 73c7a68667ea..193dddab6511 100644 --- a/include/linux/sunrpc/svc_xprt.h +++ b/include/linux/sunrpc/svc_xprt.h | |||
| @@ -167,8 +167,7 @@ static inline size_t svc_addr_len(const struct sockaddr *sa) | |||
| 167 | case AF_INET6: | 167 | case AF_INET6: |
| 168 | return sizeof(struct sockaddr_in6); | 168 | return sizeof(struct sockaddr_in6); |
| 169 | } | 169 | } |
| 170 | 170 | BUG(); | |
| 171 | return 0; | ||
| 172 | } | 171 | } |
| 173 | 172 | ||
| 174 | static inline unsigned short svc_xprt_local_port(const struct svc_xprt *xprt) | 173 | static inline unsigned short svc_xprt_local_port(const struct svc_xprt *xprt) |
