fvp: Remove unnecessary initializers
Global and static variables are expected to be initialised to zero
by default.  This is specified by the C99 standard. This patch
removes some unnecessary initialisations of such variables.

It fixes a compilation warning at the same time:
  plat/fvp/bl31_plat_setup.c:82:3: warning: missing braces around
  initializer [-Wmissing-braces]
     section("tzfw_coherent_mem"))) = {0};
     ^
  plat/fvp/bl31_plat_setup.c:82:3: warning: (near initialization for
  ‘ns_entry_info[0]’) [-Wmissing-braces]

Note that GCC should not have emitted this warning message in the
first place.  The C Standard permits braces to be elided around
subaggregate initializers.  See this GCC bug report:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119

Change-Id: I13cb0c344feb9803bca8819f976377741fa6bc35
1 parent 27866d8 commit 204aa03da7d8a34d5e06fba3ccc9e565ed01d305
@Sandrine Bailleux Sandrine Bailleux authored on 28 Oct 2013
Dan Handley committed on 27 Nov 2013
Showing 4 changed files
View
docs/change-log.md
View
plat/fvp/bl1_plat_setup.c
View
plat/fvp/bl2_plat_setup.c
View
plat/fvp/bl31_plat_setup.c