From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752346AbcHIINr (ORCPT ); Tue, 9 Aug 2016 04:13:47 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:39149 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751277AbcHIINp (ORCPT ); Tue, 9 Aug 2016 04:13:45 -0400 Subject: Re: [PATCH v2 02/14] net: ethernet: ti: cpsw: remove redundant check in napi poll To: Ivan Khoronzhuk , , References: <1470480524-6851-1-git-send-email-ivan.khoronzhuk@linaro.org> <1470480524-6851-3-git-send-email-ivan.khoronzhuk@linaro.org> CC: , , From: Mugunthan V N Message-ID: Date: Tue, 9 Aug 2016 13:43:39 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <1470480524-6851-3-git-send-email-ivan.khoronzhuk@linaro.org> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Saturday 06 August 2016 04:18 PM, Ivan Khoronzhuk wrote: > No need to check number of handled packets, when in most cases (> 99%) > it's not 0. It can be 0 only in rare cases, even in this case > it's not bad to print just 0. > > Signed-off-by: Ivan Khoronzhuk Reviewed-by: Mugunthan V N Regards Mugunthan V N