mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-01 10:42:11 +00:00
net/smc: remove unused input parameters in smcr_new_buf_create
The input parameter "is_rmb" of the smcr_new_buf_create function has never been used, remove it. Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d37307eaac
commit
0908503ade
@ -2250,7 +2250,7 @@ int smcr_buf_reg_lgr(struct smc_link *lnk)
|
||||
}
|
||||
|
||||
static struct smc_buf_desc *smcr_new_buf_create(struct smc_link_group *lgr,
|
||||
bool is_rmb, int bufsize)
|
||||
int bufsize)
|
||||
{
|
||||
struct smc_buf_desc *buf_desc;
|
||||
|
||||
@ -2398,7 +2398,7 @@ static int __smc_buf_create(struct smc_sock *smc, bool is_smcd, bool is_rmb)
|
||||
if (is_smcd)
|
||||
buf_desc = smcd_new_buf_create(lgr, is_rmb, bufsize);
|
||||
else
|
||||
buf_desc = smcr_new_buf_create(lgr, is_rmb, bufsize);
|
||||
buf_desc = smcr_new_buf_create(lgr, bufsize);
|
||||
|
||||
if (PTR_ERR(buf_desc) == -ENOMEM)
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user