diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-01-30 11:20:12 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2019-01-30 11:34:39 +0100 |
commit | 03937704b84c84465fb1b716ce905d09e102a477 (patch) | |
tree | f131bd09a7969b91f9eacfeaf1a54089b1f0e63c /arch | |
parent | Merge tag 'imx-fixes-5.0-2' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff) | |
parent | ARM: pxa: ssp: unneeded to free devm_ allocated data (diff) | |
download | linux-03937704b84c84465fb1b716ce905d09e102a477.tar.xz linux-03937704b84c84465fb1b716ce905d09e102a477.zip |
Merge tag 'pxa-fixes-5.0' of https://github.com/rjarzmik/linux into arm/fixes
This is the pxa fixes set for v4.20 cycle:
- only a single devm allocated pointer free fix, which was never
triggered runtime but code analysis found.
* tag 'pxa-fixes-5.0' of https://github.com/rjarzmik/linux:
ARM: pxa: ssp: unneeded to free devm_ allocated data
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/plat-pxa/ssp.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/plat-pxa/ssp.c b/arch/arm/plat-pxa/ssp.c index ed36dcab80f1..f51919974183 100644 --- a/arch/arm/plat-pxa/ssp.c +++ b/arch/arm/plat-pxa/ssp.c @@ -190,8 +190,6 @@ static int pxa_ssp_remove(struct platform_device *pdev) if (ssp == NULL) return -ENODEV; - iounmap(ssp->mmio_base); - res = platform_get_resource(pdev, IORESOURCE_MEM, 0); release_mem_region(res->start, resource_size(res)); @@ -201,7 +199,6 @@ static int pxa_ssp_remove(struct platform_device *pdev) list_del(&ssp->node); mutex_unlock(&ssp_lock); - kfree(ssp); return 0; } |