diff options
author | Michal Simek <michal.simek@xilinx.com> | 2019-08-02 13:43:29 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2019-10-08 10:41:27 +0300 |
commit | 23decf013bdd8fb2a7727225229d3bf9daa2827e (patch) | |
tree | 9b7960bc42dec39b370b83fc7a7422fb8b0ded5b | |
parent | d882f0847cc000a380b468a47ab9647d482adc69 (diff) | |
download | u-boot-23decf013bdd8fb2a7727225229d3bf9daa2827e.tar.xz |
fpga: zynqmp: Fix second local variable declaration
No reason to define new_buf again.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r-- | drivers/fpga/zynqmppl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/fpga/zynqmppl.c b/drivers/fpga/zynqmppl.c index 22bfdd8dce..f6d9d50ef1 100644 --- a/drivers/fpga/zynqmppl.c +++ b/drivers/fpga/zynqmppl.c @@ -153,7 +153,7 @@ static ulong zynqmp_align_dma_buffer(u32 *buf, u32 len, u32 swap) } else if ((swap != SWAP_DONE) && (zynqmp_pmufw_version() <= PMUFW_V1_0)) { /* For bitstream which are aligned */ - u32 *new_buf = (u32 *)buf; + new_buf = buf; printf("%s: Bitstream is not swapped(%d) - swap it\n", __func__, swap); |