Commit 571e6776 authored by kbuild test robot's avatar kbuild test robot Committed by David S. Miller

rds: rds_info_from_znotifier() can be static

Fixes: 9426bbc6 ("rds: use list structure to track information for zerocopy completion notification")
Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 496c7f3c
...@@ -67,7 +67,7 @@ static inline bool rds_zcookie_add(struct rds_msg_zcopy_info *info, u32 cookie) ...@@ -67,7 +67,7 @@ static inline bool rds_zcookie_add(struct rds_msg_zcopy_info *info, u32 cookie)
return true; return true;
} }
struct rds_msg_zcopy_info *rds_info_from_znotifier(struct rds_znotifier *znotif) static struct rds_msg_zcopy_info *rds_info_from_znotifier(struct rds_znotifier *znotif)
{ {
return container_of(znotif, struct rds_msg_zcopy_info, znotif); return container_of(znotif, struct rds_msg_zcopy_info, znotif);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment