[2.6 patch] drivers/net/via-velocity.c: make a function static

From: Adrian Bunk
Date: Sat Feb 19 2005 - 03:58:39 EST


This patch makes a needlessly global function static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.11-rc3-mm2-full/drivers/net/via-velocity.c.old 2005-02-16 18:57:31.000000000 +0100
+++ linux-2.6.11-rc3-mm2-full/drivers/net/via-velocity.c 2005-02-16 18:57:49.000000000 +0100
@@ -3096,7 +3096,7 @@
* we are interested in.
*/

-u16 wol_calc_crc(int size, u8 * pattern, u8 *mask_pattern)
+static u16 wol_calc_crc(int size, u8 * pattern, u8 *mask_pattern)
{
u16 crc = 0xFFFF;
u8 mask;

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html