Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 03937704 authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

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: default avatarArnd Bergmann <arnd@arndb.de>
parents 3673a91c ba16adeb
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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;
}