rds: rds_info_from_znotifier() can be static
authorkbuild test robot <fengguang.wu@intel.com>
Thu, 8 Mar 2018 11:37:30 +0000 (19:37 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Mar 2018 02:54:00 +0000 (21:54 -0500)
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>
net/rds/message.c

index 3c610d5..4462e4c 100644 (file)
@@ -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);
 }