summaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb4/sge.c
diff options
context:
space:
mode:
authorRoland Dreier <rdreier@cisco.com>2010-04-21 10:59:17 +0200
committerDavid S. Miller <davem@davemloft.net>2010-04-22 08:00:43 +0200
commitde498c89254b5b89f676e9c9292396d5ebf52bf2 (patch)
tree2976ebf664011f5260ef6fe91f527afe4b6c3495 /drivers/net/cxgb4/sge.c
parentcxgb4: Use ntohs() on __be16 value instead of htons() (diff)
downloadlinux-de498c89254b5b89f676e9c9292396d5ebf52bf2.tar.xz
linux-de498c89254b5b89f676e9c9292396d5ebf52bf2.zip
cxgb4: Make unnecessarily global functions static
Also put t4_write_indirect() inside "#if 0" to avoid a "defined but not used" compile warning. Signed-off-by: Roland Dreier <rolandd@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb4/sge.c')
-rw-r--r--drivers/net/cxgb4/sge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cxgb4/sge.c b/drivers/net/cxgb4/sge.c
index 70bf2b2e6001..65d91c4ec9f5 100644
--- a/drivers/net/cxgb4/sge.c
+++ b/drivers/net/cxgb4/sge.c
@@ -1471,7 +1471,7 @@ EXPORT_SYMBOL(cxgb4_pktgl_to_skb);
* Releases the pages of a packet gather list. We do not own the last
* page on the list and do not free it.
*/
-void t4_pktgl_free(const struct pkt_gl *gl)
+static void t4_pktgl_free(const struct pkt_gl *gl)
{
int n;
const skb_frag_t *p;