From: Fengguang Wu Date: Mon, 6 Jan 2014 10:00:07 +0000 (+0100) Subject: pktgen_dst_metrics[] can be static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5537a0557c26b1005a8f6e59125bfe3f4e51226a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git pktgen_dst_metrics[] can be static CC: Fan Du CC: Steffen Klassert Signed-off-by: Fengguang Wu Signed-off-by: Steffen Klassert --- diff --git a/net/core/pktgen.c b/net/core/pktgen.c index 45ba476a7e17..a37ec53c554c 100644 --- a/net/core/pktgen.c +++ b/net/core/pktgen.c @@ -2500,7 +2500,7 @@ static void mod_cur_headers(struct pktgen_dev *pkt_dev) #ifdef CONFIG_XFRM -u32 pktgen_dst_metrics[RTAX_MAX + 1] = { +static u32 pktgen_dst_metrics[RTAX_MAX + 1] = { [RTAX_HOPLIMIT] = 0x5, /* Set a static hoplimit */ };