mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -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:
parent
d4c4f88338
commit
4920c4aa2d
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue