mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
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: Christian Gromm <christian.gromm@microchip.com> Signed-off-by: Andrey Shvetsov <andrey.shvetsov@k2l.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1c88f8ff42
commit
5a63e23a29
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user