From patchwork Sat May 7 12:31:59 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Bolle X-Patchwork-Id: 764342 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p47CX64W028329 for ; Sat, 7 May 2011 12:33:07 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755190Ab1EGMcL (ORCPT ); Sat, 7 May 2011 08:32:11 -0400 Received: from smtp-out0.tiscali.nl ([195.241.79.175]:40518 "EHLO smtp-out0.tiscali.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755091Ab1EGMcJ (ORCPT ); Sat, 7 May 2011 08:32:09 -0400 Received: from [212.123.169.34] (helo=[192.168.1.100]) by smtp-out0.tiscali.nl with esmtp (Exim) (envelope-from ) id 1QIgg4-00011A-AD; Sat, 07 May 2011 14:32:08 +0200 Subject: [PATCH] [RESEND] iwl4965: drop a lone pr_err() From: Paul Bolle To: "John W. Linville" Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Date: Sat, 07 May 2011 14:31:59 +0200 Message-ID: <1304771519.2227.6.camel@x61.thuisdomein> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 (2.32.2-1.fc14) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Sat, 07 May 2011 12:33:07 +0000 (UTC) iwl4965_rate_control_register() prints a message at KERN_ERR level. It looks like it's just a debugging message, so pr_err() seems to be overdone. But none of the similar functions in drivers/net/wireless print a message, so let's just drop it entirely. Signed-off-by: Paul Bolle --- Previously sent for (I guess) v2.6.39-rc2. Still present in v2.6.39-rc6. drivers/net/wireless/iwlegacy/iwl-4965-rs.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/iwlegacy/iwl-4965-rs.c b/drivers/net/wireless/iwlegacy/iwl-4965-rs.c index 31ac672..8950939 100644 --- a/drivers/net/wireless/iwlegacy/iwl-4965-rs.c +++ b/drivers/net/wireless/iwlegacy/iwl-4965-rs.c @@ -2860,7 +2860,6 @@ static struct rate_control_ops rs_4965_ops = { int iwl4965_rate_control_register(void) { - pr_err("Registering 4965 rate control operations\n"); return ieee80211_rate_control_register(&rs_4965_ops); }