summaryrefslogtreecommitdiff
path: root/net/rds
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2018-03-08 19:37:30 +0800
committerDavid S. Miller <davem@davemloft.net>2018-03-08 21:54:00 -0500
commit571e6776add4f499661e761e03e46ec0f6d66243 (patch)
tree416ff35027e3d3cc4ee3f713783dc4fab63b3636 /net/rds
parent496c7f3caed5c56ba4ab6767a9cf7e7aa8bd8f41 (diff)
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 <fengguang.wu@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds')
-rw-r--r--net/rds/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rds/message.c b/net/rds/message.c
index 3c610d5fe7ae..4462e4c9bd7d 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);
}