Message ID | 20240912144240.8635-1-shaozhengchao@163.com (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net-next] net/smc: remove useless macros in smc_close.h | expand |
On 9/12/24 10:42 PM, Zhengchao Shao wrote: > After commit 51f1de79ad8e("net/smc: replace sock_put worker by > socket refcounting") is merged, SMC-COSES_SOCK_PUT_DELAY is no > longer used. So, remove it. SMC_CLOSE_SOCK_PUT_DELAY > > Signed-off-by: Zhengchao Shao <shaozhengchao@163.com> > --- > net/smc/smc_close.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/net/smc/smc_close.h b/net/smc/smc_close.h > index 634fea2b7c95..9baee2eafc3b 100644 > --- a/net/smc/smc_close.h > +++ b/net/smc/smc_close.h > @@ -17,7 +17,6 @@ > #include "smc.h" > > #define SMC_MAX_STREAM_WAIT_TIMEOUT (2 * HZ) > -#define SMC_CLOSE_SOCK_PUT_DELAY HZ > > void smc_close_wake_tx_prepared(struct smc_sock *smc); > int smc_close_active(struct smc_sock *smc);
On 2024/9/13 15:43, D. Wythe wrote: > > > On 9/12/24 10:42 PM, Zhengchao Shao wrote: >> After commit 51f1de79ad8e("net/smc: replace sock_put worker by >> socket refcounting") is merged, SMC-COSES_SOCK_PUT_DELAY is no >> longer used. So, remove it. > > SMC_CLOSE_SOCK_PUT_DELAY My mistake. Thank you for your review. Zhengchao Shao > >> >> Signed-off-by: Zhengchao Shao <shaozhengchao@163.com> >> --- >> net/smc/smc_close.h | 1 - >> 1 file changed, 1 deletion(-) >> >> diff --git a/net/smc/smc_close.h b/net/smc/smc_close.h >> index 634fea2b7c95..9baee2eafc3b 100644 >> --- a/net/smc/smc_close.h >> +++ b/net/smc/smc_close.h >> @@ -17,7 +17,6 @@ >> #include "smc.h" >> #define SMC_MAX_STREAM_WAIT_TIMEOUT (2 * HZ) >> -#define SMC_CLOSE_SOCK_PUT_DELAY HZ >> void smc_close_wake_tx_prepared(struct smc_sock *smc); >> int smc_close_active(struct smc_sock *smc);
diff --git a/net/smc/smc_close.h b/net/smc/smc_close.h index 634fea2b7c95..9baee2eafc3b 100644 --- a/net/smc/smc_close.h +++ b/net/smc/smc_close.h @@ -17,7 +17,6 @@ #include "smc.h" #define SMC_MAX_STREAM_WAIT_TIMEOUT (2 * HZ) -#define SMC_CLOSE_SOCK_PUT_DELAY HZ void smc_close_wake_tx_prepared(struct smc_sock *smc); int smc_close_active(struct smc_sock *smc);
After commit 51f1de79ad8e("net/smc: replace sock_put worker by socket refcounting") is merged, SMC-COSES_SOCK_PUT_DELAY is no longer used. So, remove it. Signed-off-by: Zhengchao Shao <shaozhengchao@163.com> --- net/smc/smc_close.h | 1 - 1 file changed, 1 deletion(-)