From patchwork Thu Apr 7 18:40:32 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Bolle X-Patchwork-Id: 693291 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 p388EDqx003611 for ; Fri, 8 Apr 2011 08:14:15 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756302Ab1DGSkj (ORCPT ); Thu, 7 Apr 2011 14:40:39 -0400 Received: from smtp-out3.tiscali.nl ([195.241.79.178]:37879 "EHLO smtp-out3.tiscali.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754889Ab1DGSki (ORCPT ); Thu, 7 Apr 2011 14:40:38 -0400 Received: from [212.123.169.34] (helo=[192.168.1.102]) by smtp-out3.tiscali.nl with esmtp (Exim) (envelope-from ) id 1Q7u8D-0005qZ-Ps; Thu, 07 Apr 2011 20:40:37 +0200 Subject: [PATCH] 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: Thu, 07 Apr 2011 20:40:32 +0200 Message-ID: <1302201632.9085.7.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]); Fri, 08 Apr 2011 08:14:15 +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. Signed-off-by: Paul Bolle --- 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); }