netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] sctp: Remove unused function declarations
@ 2023-07-31 14:10 Yue Haibing
  2023-08-01  9:29 ` Simon Horman
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Yue Haibing @ 2023-07-31 14:10 UTC (permalink / raw)
  To: marcelo.leitner, lucien.xin, davem, edumazet, kuba, pabeni,
	yuehaibing
  Cc: linux-sctp, netdev, linux-kernel

These declarations are never implemented since beginning of git history.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 include/net/sctp/sm.h      | 3 ---
 include/net/sctp/structs.h | 2 --
 2 files changed, 5 deletions(-)

diff --git a/include/net/sctp/sm.h b/include/net/sctp/sm.h
index f37c7a558d6d..64c42bd56bb2 100644
--- a/include/net/sctp/sm.h
+++ b/include/net/sctp/sm.h
@@ -156,7 +156,6 @@ sctp_state_fn_t sctp_sf_do_6_2_sack;
 sctp_state_fn_t sctp_sf_autoclose_timer_expire;
 
 /* Prototypes for utility support functions.  */
-__u8 sctp_get_chunk_type(struct sctp_chunk *chunk);
 const struct sctp_sm_table_entry *sctp_sm_lookup_event(
 					struct net *net,
 					enum sctp_event_type event_type,
@@ -166,8 +165,6 @@ int sctp_chunk_iif(const struct sctp_chunk *);
 struct sctp_association *sctp_make_temp_asoc(const struct sctp_endpoint *,
 					     struct sctp_chunk *,
 					     gfp_t gfp);
-__u32 sctp_generate_verification_tag(void);
-void sctp_populate_tie_tags(__u8 *cookie, __u32 curTag, __u32 hisTag);
 
 /* Prototypes for chunk-building functions.  */
 struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc,
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h
index 5c72d1864dd6..5a24d6d8522a 100644
--- a/include/net/sctp/structs.h
+++ b/include/net/sctp/structs.h
@@ -1122,8 +1122,6 @@ void sctp_outq_free(struct sctp_outq*);
 void sctp_outq_tail(struct sctp_outq *, struct sctp_chunk *chunk, gfp_t);
 int sctp_outq_sack(struct sctp_outq *, struct sctp_chunk *);
 int sctp_outq_is_empty(const struct sctp_outq *);
-void sctp_outq_restart(struct sctp_outq *);
-
 void sctp_retransmit(struct sctp_outq *q, struct sctp_transport *transport,
 		     enum sctp_retransmit_reason reason);
 void sctp_retransmit_mark(struct sctp_outq *, struct sctp_transport *, __u8);
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH net-next] sctp: Remove unused function declarations
  2023-07-31 14:10 [PATCH net-next] sctp: Remove unused function declarations Yue Haibing
@ 2023-08-01  9:29 ` Simon Horman
  2023-08-02 13:44 ` Xin Long
  2023-08-03  1:50 ` patchwork-bot+netdevbpf
  2 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2023-08-01  9:29 UTC (permalink / raw)
  To: Yue Haibing
  Cc: marcelo.leitner, lucien.xin, davem, edumazet, kuba, pabeni,
	linux-sctp, netdev, linux-kernel

On Mon, Jul 31, 2023 at 10:10:30PM +0800, Yue Haibing wrote:
> These declarations are never implemented since beginning of git history.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>

Reviewed-by: Simon Horman <horms@kernel.org>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH net-next] sctp: Remove unused function declarations
  2023-07-31 14:10 [PATCH net-next] sctp: Remove unused function declarations Yue Haibing
  2023-08-01  9:29 ` Simon Horman
@ 2023-08-02 13:44 ` Xin Long
  2023-08-03  1:50 ` patchwork-bot+netdevbpf
  2 siblings, 0 replies; 4+ messages in thread
From: Xin Long @ 2023-08-02 13:44 UTC (permalink / raw)
  To: Yue Haibing
  Cc: marcelo.leitner, davem, edumazet, kuba, pabeni, linux-sctp,
	netdev, linux-kernel

On Mon, Jul 31, 2023 at 10:10 AM Yue Haibing <yuehaibing@huawei.com> wrote:
>
> These declarations are never implemented since beginning of git history.
>
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
>  include/net/sctp/sm.h      | 3 ---
>  include/net/sctp/structs.h | 2 --
>  2 files changed, 5 deletions(-)
>
> diff --git a/include/net/sctp/sm.h b/include/net/sctp/sm.h
> index f37c7a558d6d..64c42bd56bb2 100644
> --- a/include/net/sctp/sm.h
> +++ b/include/net/sctp/sm.h
> @@ -156,7 +156,6 @@ sctp_state_fn_t sctp_sf_do_6_2_sack;
>  sctp_state_fn_t sctp_sf_autoclose_timer_expire;
>
>  /* Prototypes for utility support functions.  */
> -__u8 sctp_get_chunk_type(struct sctp_chunk *chunk);
>  const struct sctp_sm_table_entry *sctp_sm_lookup_event(
>                                         struct net *net,
>                                         enum sctp_event_type event_type,
> @@ -166,8 +165,6 @@ int sctp_chunk_iif(const struct sctp_chunk *);
>  struct sctp_association *sctp_make_temp_asoc(const struct sctp_endpoint *,
>                                              struct sctp_chunk *,
>                                              gfp_t gfp);
> -__u32 sctp_generate_verification_tag(void);
> -void sctp_populate_tie_tags(__u8 *cookie, __u32 curTag, __u32 hisTag);
>
>  /* Prototypes for chunk-building functions.  */
>  struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc,
> diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h
> index 5c72d1864dd6..5a24d6d8522a 100644
> --- a/include/net/sctp/structs.h
> +++ b/include/net/sctp/structs.h
> @@ -1122,8 +1122,6 @@ void sctp_outq_free(struct sctp_outq*);
>  void sctp_outq_tail(struct sctp_outq *, struct sctp_chunk *chunk, gfp_t);
>  int sctp_outq_sack(struct sctp_outq *, struct sctp_chunk *);
>  int sctp_outq_is_empty(const struct sctp_outq *);
> -void sctp_outq_restart(struct sctp_outq *);
> -
>  void sctp_retransmit(struct sctp_outq *q, struct sctp_transport *transport,
>                      enum sctp_retransmit_reason reason);
>  void sctp_retransmit_mark(struct sctp_outq *, struct sctp_transport *, __u8);
> --
> 2.34.1
>
Acked-by: Xin Long <lucien.xin@gmail.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH net-next] sctp: Remove unused function declarations
  2023-07-31 14:10 [PATCH net-next] sctp: Remove unused function declarations Yue Haibing
  2023-08-01  9:29 ` Simon Horman
  2023-08-02 13:44 ` Xin Long
@ 2023-08-03  1:50 ` patchwork-bot+netdevbpf
  2 siblings, 0 replies; 4+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-08-03  1:50 UTC (permalink / raw)
  To: Yue Haibing
  Cc: marcelo.leitner, lucien.xin, davem, edumazet, kuba, pabeni,
	linux-sctp, netdev, linux-kernel

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Mon, 31 Jul 2023 22:10:30 +0800 you wrote:
> These declarations are never implemented since beginning of git history.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
>  include/net/sctp/sm.h      | 3 ---
>  include/net/sctp/structs.h | 2 --
>  2 files changed, 5 deletions(-)

Here is the summary with links:
  - [net-next] sctp: Remove unused function declarations
    https://git.kernel.org/netdev/net-next/c/49c467dca39d

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-08-03  1:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-31 14:10 [PATCH net-next] sctp: Remove unused function declarations Yue Haibing
2023-08-01  9:29 ` Simon Horman
2023-08-02 13:44 ` Xin Long
2023-08-03  1:50 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).