mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 23:48:56 -04:00
gpio: janz-ttl: 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> Reviewed-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
committed by
Linus Walleij
parent
d4c4f88338
commit
4920c4aa2d
@@ -158,7 +158,6 @@ static int ttl_probe(struct platform_device *pdev)
|
||||
|
||||
mod = kzalloc(sizeof(*mod), GFP_KERNEL);
|
||||
if (!mod) {
|
||||
dev_err(dev, "unable to allocate private data\n");
|
||||
ret = -ENOMEM;
|
||||
goto out_return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user