pktgen_dst_metrics[] can be static

CC: Fan Du <fan.du@windriver.com>
CC: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
This commit is contained in:
Fengguang Wu 2014-01-06 11:00:07 +01:00 committed by Steffen Klassert
parent e5f79d111f
commit 5537a0557c
1 changed files with 1 additions and 1 deletions

View File

@ -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 */
};