From patchwork Tue May 5 16:33:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olli Salonen X-Patchwork-Id: 6339311 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 43C8ABEEE1 for ; Tue, 5 May 2015 16:34:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6F2292017D for ; Tue, 5 May 2015 16:34:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 777ED20149 for ; Tue, 5 May 2015 16:34:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761421AbbEEQeH (ORCPT ); Tue, 5 May 2015 12:34:07 -0400 Received: from mail-lb0-f176.google.com ([209.85.217.176]:33691 "EHLO mail-lb0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761318AbbEEQeD (ORCPT ); Tue, 5 May 2015 12:34:03 -0400 Received: by lbbzk7 with SMTP id zk7so133160130lbb.0 for ; Tue, 05 May 2015 09:34:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=URkAIYs20vTFDzPbsaGOe4KB4moZKVKHvmXQgasyxaQ=; b=SnJjaNNL8NzzYc8rWI9ZbaDeGBSuFlqo7gSZj+5NUcWYZ/qgKR3WBWdbgnkHO25Pt4 LdXOgBkOcHJOujte8EPq7ipVnyp2Q+fx90Lkfq6XFS9kjn3uW21EXLSo4wfj+kozjbqm SDwY8d9Ek8pOUJQNPjLamxpl2EhVb8wOFc2K9GllDSR0Pewsh4XGdmUOx1CaGLyAeJD3 xLJJHv9Wgrva1Z8FVYVKvlUANBdU1Cx4WdlPiUoFacal7yqcuA46V5u3biWQ1KQpI7/d 2EOI+wTPdEJYgn6zxKZ6V6NU19qSzMbY+WyA0OcvOyfCGEh0+5+0KvCWTpvlAC/UhaFx Rm3g== X-Gm-Message-State: ALoCoQklFEsIsl8L/rfZc4GadtDNXzos7+CTDjtmwVt9EiRfCsAxfMm6FpWMUGWiWxFD+fKnj1j0 X-Received: by 10.152.116.49 with SMTP id jt17mr4084750lab.82.1430843641912; Tue, 05 May 2015 09:34:01 -0700 (PDT) Received: from dl160.lan (188-67-118-178.bb.dnainternet.fi. [188.67.118.178]) by mx.google.com with ESMTPSA id m8sm4171702lbs.17.2015.05.05.09.34.00 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 May 2015 09:34:00 -0700 (PDT) From: Olli Salonen To: linux-media@vger.kernel.org Cc: Olli Salonen Subject: [PATCH 1/4] dw2102: remove unnecessary printing of MAC address Date: Tue, 5 May 2015 19:33:52 +0300 Message-Id: <1430843635-24002-1-git-send-email-olli.salonen@iki.fi> X-Mailer: git-send-email 1.9.1 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP While reading the MAC address for SU3000-based devices the system was printing excessive debug information in the logs: Output before the patch: [ 1515.780692] bc 00 00 00 00 00 [ 1515.781440] bc ea 00 00 00 00 [ 1515.782251] bc ea 2b 00 00 00 [ 1515.783094] bc ea 2b 46 00 00 [ 1515.783816] bc ea 2b 46 12 00 [ 1515.784565] bc ea 2b 46 12 92 [ 1515.784571] dvb-usb: MAC address: bc:ea:2b:46:12:92 Output after the patch: [ 3803.495706] dvb-usb: MAC address: bc:ea:2b:46:12:92 Signed-off-by: Olli Salonen --- drivers/media/usb/dvb-usb/dw2102.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/usb/dvb-usb/dw2102.c b/drivers/media/usb/dvb-usb/dw2102.c index 28fd6ba..4ad6bb2 100644 --- a/drivers/media/usb/dvb-usb/dw2102.c +++ b/drivers/media/usb/dvb-usb/dw2102.c @@ -928,8 +928,6 @@ static int su3000_read_mac_address(struct dvb_usb_device *d, u8 mac[6]) break; else mac[i] = ibuf[0]; - - debug_dump(mac, 6, printk); } return 0;