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

Configure Feed

Select the types of activity you want to include in your feed.

net: wwan: t7xx: Make local function static

This function was used in t7xx_hif_cldma.c only. Make it static
as it should be.

Signed-off-by: Slark Xiao <slark_xiao@163.com>
Reviewed-by: Loic Poulain <loic.poulain@qualcomm.com>
Link: https://patch.msgid.link/20251120115208.345578-1-slark_xiao@163.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Slark Xiao and committed by
Jakub Kicinski
501253b6 e2c20036

+1 -3
+1 -1
drivers/net/wwan/t7xx/t7xx_hif_cldma.c
··· 897 897 * @queue: CLDMA queue. 898 898 * @recv_skb: Receiving skb callback. 899 899 */ 900 - void t7xx_cldma_set_recv_skb(struct cldma_queue *queue, 900 + static void t7xx_cldma_set_recv_skb(struct cldma_queue *queue, 901 901 int (*recv_skb)(struct cldma_queue *queue, struct sk_buff *skb)) 902 902 { 903 903 queue->recv_skb = recv_skb;
-2
drivers/net/wwan/t7xx/t7xx_hif_cldma.h
··· 126 126 void t7xx_cldma_start(struct cldma_ctrl *md_ctrl); 127 127 int t7xx_cldma_stop(struct cldma_ctrl *md_ctrl); 128 128 void t7xx_cldma_reset(struct cldma_ctrl *md_ctrl); 129 - void t7xx_cldma_set_recv_skb(struct cldma_queue *queue, 130 - int (*recv_skb)(struct cldma_queue *queue, struct sk_buff *skb)); 131 129 int t7xx_cldma_send_skb(struct cldma_ctrl *md_ctrl, int qno, struct sk_buff *skb); 132 130 void t7xx_cldma_stop_all_qs(struct cldma_ctrl *md_ctrl, enum mtk_txrx tx_rx); 133 131 void t7xx_cldma_clear_all_qs(struct cldma_ctrl *md_ctrl, enum mtk_txrx tx_rx);