hw: timer: Remove unnecessary variable
Compress lines and remove the variable. Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
f169f8fbca
commit
bf5f78efed
@ -590,10 +590,8 @@ static void nvram_writel (void *opaque, hwaddr addr, uint32_t value)
|
||||
static uint32_t nvram_readb (void *opaque, hwaddr addr)
|
||||
{
|
||||
M48t59State *NVRAM = opaque;
|
||||
uint32_t retval;
|
||||
|
||||
retval = m48t59_read(NVRAM, addr);
|
||||
return retval;
|
||||
return m48t59_read(NVRAM, addr);
|
||||
}
|
||||
|
||||
static uint32_t nvram_readw (void *opaque, hwaddr addr)
|
||||
|
Loading…
Reference in New Issue
Block a user