eal: remove unused config fields
authorDavid Marchand <david.marchand@6wind.com>
Fri, 18 Apr 2014 12:58:08 +0000 (14:58 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 5 May 2014 16:02:56 +0000 (18:02 +0200)
commit69020660c382b1feff2a0b6c56f8decf2f79e953
treefbd5440a27c9ea8518cfab8deefe5ca1dc22d69f
parentaaa423d0e5e3c79040cc779bb5f0cc0231c77b8b
eal: remove unused config fields

There is no need for a 'magic' field in struct rte_config, as this part of the
structure is local to each process. All threads of a process are synchronised
because of the run_once atomic.
So remove this field, as it is only adding confusion when reading code that
references 'magic' field from struct rte_mem_config.

Besides, there is no reference about the 'version' field, so remove it as well.

Signed-off-by: David Marchand <david.marchand@6wind.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
lib/librte_eal/bsdapp/eal/eal.c
lib/librte_eal/common/include/rte_eal.h
lib/librte_eal/linuxapp/eal/eal.c