summaryrefslogtreecommitdiff
path: root/board/freescale/common/zm7300.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/common/zm7300.c')
-rw-r--r--board/freescale/common/zm7300.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/board/freescale/common/zm7300.c b/board/freescale/common/zm7300.c
index be5953ad2d..a6c3e699b8 100644
--- a/board/freescale/common/zm7300.c
+++ b/board/freescale/common/zm7300.c
@@ -140,9 +140,7 @@ int dpm_wrp(u8 r, u8 d)
/* Uses the DPM command RRP */
u8 zm_read(uchar reg)
{
- u8 d;
- d = dpm_rrp(reg);
- return d;
+ return dpm_rrp(reg);
}
/* ZM_write --