From: kbuild test robot Date: Thu, 8 Mar 2018 11:37:30 +0000 (+0800) Subject: rds: rds_info_from_znotifier() can be static X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=571e6776add4f499661e761e03e46ec0f6d66243;p=linux.git rds: rds_info_from_znotifier() can be static Fixes: 9426bbc6de99 ("rds: use list structure to track information for zerocopy completion notification") Signed-off-by: Fengguang Wu Signed-off-by: David S. Miller --- diff --git a/net/rds/message.c b/net/rds/message.c index 3c610d5fe7aed..4462e4c9bd7dc 100644 --- a/net/rds/message.c +++ b/net/rds/message.c @@ -67,7 +67,7 @@ static inline bool rds_zcookie_add(struct rds_msg_zcopy_info *info, u32 cookie) 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); }