[U-Boot] [PATCH 5/8] PPC: Fix pd67290.c by removing ifdef around "buf"
Marek Vasut
marek.vasut at gmail.com
Mon Oct 3 02:57:27 CEST 2011
From: Marek Vasut <marex at pollux.denx.de>
As the "buf" is cleared at runtime, this might introduce a slight overhead.
Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
---
board/cpc45/pd67290.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/board/cpc45/pd67290.c b/board/cpc45/pd67290.c
index 0d8ef23..96d7289 100644
--- a/board/cpc45/pd67290.c
+++ b/board/cpc45/pd67290.c
@@ -225,11 +225,9 @@ static u_int cirrus_set_opts (socket_info_t * s)
{
cirrus_state_t *p = &s->c_state;
u_int mask = 0xffff;
-#if DEBUG
char buf[200];
memset (buf, 0, 200);
-#endif
if (has_ring == -1)
has_ring = 1;
--
1.7.6.2
More information about the U-Boot
mailing list