mirror of
https://github.com/torvalds/linux.git
synced 2026-05-29 17:43:52 +02:00
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:
parent
496c7f3cae
commit
571e6776ad
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user