Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

kbuild test robot and committed by
David S. Miller
571e6776 496c7f3c

+1 -1
+1 -1
net/rds/message.c
··· 67 67 return true; 68 68 } 69 69 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) 71 71 { 72 72 return container_of(znotif, struct rds_msg_zcopy_info, znotif); 73 73 }