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

rds: rds_message_zcopy_from_user() can be static

Fixes: d40a126b16ea ("rds: refactor zcopy code into rds_message_zcopy_from_user")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

kbuild test robot and committed by
David S. Miller
496c7f3c 054f34da

+1 -1
+1 -1
net/rds/message.c
··· 355 355 return rm; 356 356 } 357 357 358 - int rds_message_zcopy_from_user(struct rds_message *rm, struct iov_iter *from) 358 + static int rds_message_zcopy_from_user(struct rds_message *rm, struct iov_iter *from) 359 359 { 360 360 unsigned long sg_off; 361 361 struct scatterlist *sg;