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

net: cxgb4vf: Staticize local symbols

Local symbols used only in this file are made static.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Casey Leedom <leedom@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Sachin Kamat and committed by
David S. Miller
8a67d1c6 8e61777d

+6 -5
+6 -5
drivers/net/ethernet/chelsio/cxgb4vf/sge.c
··· 1396 1396 * Builds an sk_buff from the given packet gather list. Returns the 1397 1397 * sk_buff or %NULL if sk_buff allocation failed. 1398 1398 */ 1399 - struct sk_buff *t4vf_pktgl_to_skb(const struct pkt_gl *gl, 1400 - unsigned int skb_len, unsigned int pull_len) 1399 + static struct sk_buff *t4vf_pktgl_to_skb(const struct pkt_gl *gl, 1400 + unsigned int skb_len, 1401 + unsigned int pull_len) 1401 1402 { 1402 1403 struct sk_buff *skb; 1403 1404 ··· 1444 1443 * Releases the pages of a packet gather list. We do not own the last 1445 1444 * page on the list and do not free it. 1446 1445 */ 1447 - void t4vf_pktgl_free(const struct pkt_gl *gl) 1446 + static void t4vf_pktgl_free(const struct pkt_gl *gl) 1448 1447 { 1449 1448 int frag; 1450 1449 ··· 1641 1640 * on this queue. If the system is under memory shortage use a fairly 1642 1641 * long delay to help recovery. 1643 1642 */ 1644 - int process_responses(struct sge_rspq *rspq, int budget) 1643 + static int process_responses(struct sge_rspq *rspq, int budget) 1645 1644 { 1646 1645 struct sge_eth_rxq *rxq = container_of(rspq, struct sge_eth_rxq, rspq); 1647 1646 int budget_left = budget; ··· 1894 1893 * The MSI interrupt handler handles data events from SGE response queues as 1895 1894 * well as error and other async events as they all use the same MSI vector. 1896 1895 */ 1897 - irqreturn_t t4vf_intr_msi(int irq, void *cookie) 1896 + static irqreturn_t t4vf_intr_msi(int irq, void *cookie) 1898 1897 { 1899 1898 struct adapter *adapter = cookie; 1900 1899