diff options
author | kernel test robot <lkp@intel.com> | 2020-07-24 23:39:47 +0200 |
---|---|---|
committer | Santosh Shilimkar <santosh.shilimkar@oracle.com> | 2020-07-24 23:39:47 +0200 |
commit | 1d0360161c851f3b35f5688f34fa9714a074b1aa (patch) | |
tree | 04349cda874a8914669766b6d55e2c1a10bd91a4 /drivers/soc/ti | |
parent | soc: ti: k3-ringacc: fix: warn: variable dereferenced before check 'ring' (diff) | |
download | linux-1d0360161c851f3b35f5688f34fa9714a074b1aa.tar.xz linux-1d0360161c851f3b35f5688f34fa9714a074b1aa.zip |
soc: ti: k3: fix semicolon.cocci warnings
drivers/soc/ti/k3-ringacc.c:616:2-3: Unneeded semicolon
Remove unneeded semicolon.
Generated by: scripts/coccinelle/misc/semicolon.cocci
Fixes: 3277e8aa2504 ("soc: ti: k3: add navss ringacc driver")
CC: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: kernel test robot <lkp@intel.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Diffstat (limited to 'drivers/soc/ti')
-rw-r--r-- | drivers/soc/ti/k3-ringacc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/ti/k3-ringacc.c b/drivers/soc/ti/k3-ringacc.c index 1979479db58d..6dcc21dde0cb 100644 --- a/drivers/soc/ti/k3-ringacc.c +++ b/drivers/soc/ti/k3-ringacc.c @@ -649,7 +649,7 @@ int k3_ringacc_ring_cfg(struct k3_ring *ring, struct k3_ring_cfg *cfg) ring->ops = NULL; ret = -EINVAL; goto err_free_proxy; - }; + } ring->ring_mem_virt = dma_alloc_coherent(ringacc->dev, ring->size * (4 << ring->elm_size), |