diff options
author | Quytelda Kahja | 2018-02-24 08:58:34 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2018-03-01 17:21:49 +0100 |
commit | 275efcfa93d5000de13c326f5afa06b4943c5a5d (patch) | |
tree | 6f10f614353c5248bcd7061d711e625c6eff0436 /drivers/staging/most | |
parent | staging: rtl8192e: move logical continuation to previous line (diff) | |
download | kernel-qcow2-linux-275efcfa93d5000de13c326f5afa06b4943c5a5d.tar.gz kernel-qcow2-linux-275efcfa93d5000de13c326f5afa06b4943c5a5d.tar.xz kernel-qcow2-linux-275efcfa93d5000de13c326f5afa06b4943c5a5d.zip |
staging: most: Remove unnecessary OOM messages.
It isn't necessary for the driver to log out-of-memory errors, so
these have been removed and the functions simply return -ENOMEM.
Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/most')
-rw-r--r-- | drivers/staging/most/core.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/most/core.c b/drivers/staging/most/core.c index 3dda8d81bf0b..0ab2de5ecf18 100644 --- a/drivers/staging/most/core.c +++ b/drivers/staging/most/core.c @@ -1202,7 +1202,6 @@ int most_start_channel(struct most_interface *iface, int id, num_buffer = arm_mbo_chain(c, c->cfg.direction, most_write_completion); if (unlikely(!num_buffer)) { - pr_info("failed to allocate memory\n"); ret = -ENOMEM; goto error; } @@ -1381,7 +1380,6 @@ int most_register_interface(struct most_interface *iface) iface->p = kzalloc(sizeof(*iface->p), GFP_KERNEL); if (!iface->p) { - pr_info("Failed to allocate interface instance\n"); ida_simple_remove(&mdev_id, id); return -ENOMEM; } |