diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2018-03-08 12:37:30 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-09 03:54:00 +0100 |
commit | 571e6776add4f499661e761e03e46ec0f6d66243 (patch) | |
tree | 416ff35027e3d3cc4ee3f713783dc4fab63b3636 /net/rds/message.c | |
parent | rds: rds_message_zcopy_from_user() can be static (diff) | |
download | linux-571e6776add4f499661e761e03e46ec0f6d66243.tar.xz linux-571e6776add4f499661e761e03e46ec0f6d66243.zip |
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/message.c')
-rw-r--r-- | net/rds/message.c | 2 |
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); } |