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: Kumari Radha <kumari.radha3@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
cfafe92c1e
commit
b717a65a7b
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue