We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfca7a6 commit c88c680Copy full SHA for c88c680
include/linux/lockd/lockd.h
@@ -99,21 +99,11 @@ struct nsm_handle {
99
/*
100
* Rigorous type checking on sockaddr type conversions
101
*/
102
-static inline struct sockaddr_in *nlm_addr_in(const struct nlm_host *host)
103
-{
104
- return (struct sockaddr_in *)&host->h_addr;
105
-}
106
-
107
static inline struct sockaddr *nlm_addr(const struct nlm_host *host)
108
{
109
return (struct sockaddr *)&host->h_addr;
110
}
111
112
-static inline struct sockaddr_in *nlm_srcaddr_in(const struct nlm_host *host)
113
114
- return (struct sockaddr_in *)&host->h_srcaddr;
115
116
117
static inline struct sockaddr *nlm_srcaddr(const struct nlm_host *host)
118
119
return (struct sockaddr *)&host->h_srcaddr;
0 commit comments