Skip to content

Commit 571e677

Browse files
kbuild test robotdavem330
authored andcommitted
rds: rds_info_from_znotifier() can be static
Fixes: 9426bbc ("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>
1 parent 496c7f3 commit 571e677

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/rds/message.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ static inline bool rds_zcookie_add(struct rds_msg_zcopy_info *info, u32 cookie)
6767
return true;
6868
}
6969

70-
struct rds_msg_zcopy_info *rds_info_from_znotifier(struct rds_znotifier *znotif)
70+
static struct rds_msg_zcopy_info *rds_info_from_znotifier(struct rds_znotifier *znotif)
7171
{
7272
return container_of(znotif, struct rds_msg_zcopy_info, znotif);
7373
}

0 commit comments

Comments
 (0)