Skip to content

Commit c88c680

Browse files
jtlaytonchucklever
authored andcommitted
lockd: remove 2 unused helper functions
Signed-off-by: Jeff Layton <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
1 parent bfca7a6 commit c88c680

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

include/linux/lockd/lockd.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -99,21 +99,11 @@ struct nsm_handle {
9999
/*
100100
* Rigorous type checking on sockaddr type conversions
101101
*/
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-
107102
static inline struct sockaddr *nlm_addr(const struct nlm_host *host)
108103
{
109104
return (struct sockaddr *)&host->h_addr;
110105
}
111106

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-
117107
static inline struct sockaddr *nlm_srcaddr(const struct nlm_host *host)
118108
{
119109
return (struct sockaddr *)&host->h_srcaddr;

0 commit comments

Comments
 (0)