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

net: llc: Remove unused function declarations

llc_conn_ac_send_i_rsp_as_ack() and llc_conn_ev_sendack_tmr_exp()
are never implemented since beginning of git history.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20230803134747.41512-1-yuehaibing@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Yue Haibing and committed by
Jakub Kicinski
57ecc157 eef9630d

-2
-1
include/net/llc_c_ac.h
··· 175 175 int llc_conn_ac_adjust_npta_by_rr(struct sock *sk, struct sk_buff *skb); 176 176 int llc_conn_ac_adjust_npta_by_rnr(struct sock *sk, struct sk_buff *skb); 177 177 int llc_conn_ac_rst_sendack_flag(struct sock *sk, struct sk_buff *skb); 178 - int llc_conn_ac_send_i_rsp_as_ack(struct sock *sk, struct sk_buff *skb); 179 178 int llc_conn_ac_send_i_as_ack(struct sock *sk, struct sk_buff *skb); 180 179 181 180 void llc_conn_busy_tmr_cb(struct timer_list *t);
-1
include/net/llc_c_ev.h
··· 158 158 int llc_conn_ev_ack_tmr_exp(struct sock *sk, struct sk_buff *skb); 159 159 int llc_conn_ev_rej_tmr_exp(struct sock *sk, struct sk_buff *skb); 160 160 int llc_conn_ev_busy_tmr_exp(struct sock *sk, struct sk_buff *skb); 161 - int llc_conn_ev_sendack_tmr_exp(struct sock *sk, struct sk_buff *skb); 162 161 /* NOT_USED functions and their variations */ 163 162 int llc_conn_ev_rx_xxx_cmd_pbit_set_1(struct sock *sk, struct sk_buff *skb); 164 163 int llc_conn_ev_rx_xxx_rsp_fbit_set_1(struct sock *sk, struct sk_buff *skb);