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

Commit 68feaa6b authored by Markus Elfring's avatar Markus Elfring Committed by Mauro Carvalho Chehab
Browse files

[media] mn88472: Deletion of an unnecessary check before the function call "release_firmware"



The release_firmware() function tests whether its argument is NULL and then
returns immediately. Thus the test around the call is not needed.

This issue was detected by using the Coccinelle software.

Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 18acc6ac
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -299,7 +299,6 @@ static int mn88472_init(struct dvb_frontend *fe)


	return 0;
	return 0;
err:
err:
	if (fw)
	release_firmware(fw);
	release_firmware(fw);


	dev_dbg(&client->dev, "failed=%d\n", ret);
	dev_dbg(&client->dev, "failed=%d\n", ret);