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

Commit b717a65a authored by Kumari Radha's avatar Kumari Radha Committed by Greg Kroah-Hartman
Browse files

staging: media: omap4iss: Remove unnecessary 'out of memory' message



This patch removes unnecessay out of memory message fixing the following checkpach.pl warning in iss.c:
WARNING: Possible unnecessary 'out of memory' message

Signed-off-by: default avatarKumari Radha <kumari.radha3@gmail.com>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cfafe92c
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1357,10 +1357,8 @@ static int iss_probe(struct platform_device *pdev)
		return -EINVAL;

	iss = devm_kzalloc(&pdev->dev, sizeof(*iss), GFP_KERNEL);
	if (!iss) {
		dev_err(&pdev->dev, "Could not allocate memory\n");
	if (!iss)
		return -ENOMEM;
	}

	mutex_init(&iss->iss_mutex);