diff options
Diffstat (limited to 'common/memsize.c')
-rw-r--r-- | common/memsize.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/memsize.c b/common/memsize.c index 915ab87b34..2fd2b71457 100644 --- a/common/memsize.c +++ b/common/memsize.c @@ -58,7 +58,7 @@ long get_ram_size(volatile long *base, long maxsize) *addr = 0; sync (); - if ((val = *addr) != 0) { + if (*addr != 0) { /* Restore the original data before leaving the function. */ sync (); |