forked from Minki/linux
hwrng: omap - remove unnecessary OOM messages
The site-specific OOM messages are unnecessary, because they duplicate the MM subsystem generic OOM message. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
dc5e3f1953
commit
9e9026a7df
@ -369,10 +369,8 @@ static int omap_rng_probe(struct platform_device *pdev)
|
||||
int ret;
|
||||
|
||||
priv = devm_kzalloc(dev, sizeof(struct omap_rng_dev), GFP_KERNEL);
|
||||
if (!priv) {
|
||||
dev_err(&pdev->dev, "could not allocate memory\n");
|
||||
if (!priv)
|
||||
return -ENOMEM;
|
||||
};
|
||||
|
||||
omap_rng_ops.priv = (unsigned long)priv;
|
||||
platform_set_drvdata(pdev, priv);
|
||||
|
Loading…
Reference in New Issue
Block a user