rds: rds_info_from_znotifier() can be static

Fixes: 9426bbc6de ("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>
This commit is contained in:
kbuild test robot 2018-03-08 19:37:30 +08:00 committed by David S. Miller
parent 496c7f3cae
commit 571e6776ad
1 changed files with 1 additions and 1 deletions

View 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);
}