staging: most: core: remove debug print
authorChristian Gromm <christian.gromm@microchip.com>
Mon, 27 Jun 2016 13:00:32 +0000 (15:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Aug 2016 18:23:21 +0000 (20:23 +0200)
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>
drivers/staging/most/mostcore/core.c

index 7c619feb12d335556d24474f0bbc826b4880d787..cb4c6de82f883e13629b3b21cbf0270d8af6c1b9 100644 (file)
@@ -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)