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>
This commit is contained in:
parent
8e61777d36
commit
8a67d1c670
@ -1396,8 +1396,9 @@ static inline void copy_frags(struct sk_buff *skb,
|
|||||||
* Builds an sk_buff from the given packet gather list. Returns the
|
* Builds an sk_buff from the given packet gather list. Returns the
|
||||||
* sk_buff or %NULL if sk_buff allocation failed.
|
* sk_buff or %NULL if sk_buff allocation failed.
|
||||||
*/
|
*/
|
||||||
struct sk_buff *t4vf_pktgl_to_skb(const struct pkt_gl *gl,
|
static struct sk_buff *t4vf_pktgl_to_skb(const struct pkt_gl *gl,
|
||||||
unsigned int skb_len, unsigned int pull_len)
|
unsigned int skb_len,
|
||||||
|
unsigned int pull_len)
|
||||||
{
|
{
|
||||||
struct sk_buff *skb;
|
struct sk_buff *skb;
|
||||||
|
|
||||||
@ -1443,7 +1444,7 @@ out:
|
|||||||
* Releases the pages of a packet gather list. We do not own the last
|
* Releases the pages of a packet gather list. We do not own the last
|
||||||
* page on the list and do not free it.
|
* page on the list and do not free it.
|
||||||
*/
|
*/
|
||||||
void t4vf_pktgl_free(const struct pkt_gl *gl)
|
static void t4vf_pktgl_free(const struct pkt_gl *gl)
|
||||||
{
|
{
|
||||||
int frag;
|
int frag;
|
||||||
|
|
||||||
@ -1640,7 +1641,7 @@ static inline void rspq_next(struct sge_rspq *rspq)
|
|||||||
* on this queue. If the system is under memory shortage use a fairly
|
* on this queue. If the system is under memory shortage use a fairly
|
||||||
* long delay to help recovery.
|
* long delay to help recovery.
|
||||||
*/
|
*/
|
||||||
int process_responses(struct sge_rspq *rspq, int budget)
|
static int process_responses(struct sge_rspq *rspq, int budget)
|
||||||
{
|
{
|
||||||
struct sge_eth_rxq *rxq = container_of(rspq, struct sge_eth_rxq, rspq);
|
struct sge_eth_rxq *rxq = container_of(rspq, struct sge_eth_rxq, rspq);
|
||||||
int budget_left = budget;
|
int budget_left = budget;
|
||||||
@ -1893,7 +1894,7 @@ static unsigned int process_intrq(struct adapter *adapter)
|
|||||||
* The MSI interrupt handler handles data events from SGE response queues as
|
* The MSI interrupt handler handles data events from SGE response queues as
|
||||||
* well as error and other async events as they all use the same MSI vector.
|
* well as error and other async events as they all use the same MSI vector.
|
||||||
*/
|
*/
|
||||||
irqreturn_t t4vf_intr_msi(int irq, void *cookie)
|
static irqreturn_t t4vf_intr_msi(int irq, void *cookie)
|
||||||
{
|
{
|
||||||
struct adapter *adapter = cookie;
|
struct adapter *adapter = cookie;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user