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

Commit c99cc9a2 authored by Syam Sidhardhan's avatar Syam Sidhardhan Committed by Jeff Garzik
Browse files

sata_fsl: Remove redundant NULL check before kfree



kfree on NULL pointer is a no-op.

Signed-off-by: default avatarSyam Sidhardhan <s.syam@samsung.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent efda332c
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -1511,7 +1511,6 @@ error_exit_with_cleanup:


	if (hcr_base)
	if (hcr_base)
		iounmap(hcr_base);
		iounmap(hcr_base);
	if (host_priv)
	kfree(host_priv);
	kfree(host_priv);


	return retval;
	return retval;