Commit 5a63e23a authored by Christian Gromm's avatar Christian Gromm Committed by Greg Kroah-Hartman

staging: most: core: remove debug print

This patch removes the debug print in case an HDM ran out of rx buffers.
This is not needed since the status is reflected in the sysfs
channel_starving flag. Additionally, it prevents the system form slowing
down.
Signed-off-by: default avatarChristian Gromm <christian.gromm@microchip.com>
Signed-off-by: default avatarAndrey Shvetsov <andrey.shvetsov@k2l.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1c88f8ff
......@@ -1468,10 +1468,8 @@ static void most_read_completion(struct mbo *mbo)
return;
}
if (atomic_sub_and_test(1, &c->mbo_nq_level)) {
pr_info("WARN: rx device out of buffers\n");
if (atomic_sub_and_test(1, &c->mbo_nq_level))
c->is_starving = 1;
}
if (c->aim0.refs && c->aim0.ptr->rx_completion &&
c->aim0.ptr->rx_completion(mbo) == 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment