Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2966083ybi; Mon, 10 Jun 2019 01:45:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqwVt/PuPQcdVt70GfuJrqSaFlcuEyrXF4NHaVcTpgC+w1MS3kro6uYldW+LLMLaSsgZwHUV X-Received: by 2002:a62:e403:: with SMTP id r3mr41949093pfh.37.1560156315333; Mon, 10 Jun 2019 01:45:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560156315; cv=none; d=google.com; s=arc-20160816; b=kMpX3UdE5NbVNgx2FcfqE8cpRu525YZ25jFsEaufSPfvcp+D77YNnJ8SFcIBCFnzYF F+HxT1/oIep61NewbLn8aPLcW4btMCDu8qT7ia4B2TCqYxPxzI30hTpyCGN3lXzI6/QO b8G5imtI9y2+efzwDg6eJJFPIf3TxYfw2zh70HVarprrtaNqaMFhmBqLf0OkOd/HWwwM BabPh4Z91gXHkukY/4+r3kUbAJsXqK9UZB43C+1FGfiOlrxmurz8bZWELUuNMU/+7K2m /TY9z0TAFA6Eb0iXNA/oK2P9V/yjezhm+nzTHrZWS2BxuOwdVUwE5zT58hW0/oTPWkDr Vqrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=0HrE3SWkxzOWZuyGJJRbueeV0IUbEbszue8wV9SG4eE=; b=NP3eIzMndoK2AUlMuosXQzAhHNxrWJStPAGfQ0fBLgxX5Xpk+p/BsCEuR8d3d0ZAoH aFc2LfPmKTsiVc97S7v4nKqorV75jYsVakAb/Pp2qg1GJu5KiVbFDNWp/qbj9zALJU/q Lhhd5iXBKsbA6JhPxV9doiJ+10Qvu4tWTIdcSO8J1xrzFrNga881dJz2f/BrSpbxwkFV DAIGwwSbJd0XXlElN2M3aGUFK/Jp0mxpwzmzGaHW22Y9zX1KiQBvGk9OM5esf+Fx5puT Wgkjr5l/GEIOOZa1K2xgVaolKgiGQ5lrBR5kx5fcKngVoiLerP90crY3kql5rOeaVkKz 8FlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nikanor-nu.20150623.gappssmtp.com header.s=20150623 header.b=P+6xRp46; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d16si9498518pfr.229.2019.06.10.01.45.01; Mon, 10 Jun 2019 01:45:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nikanor-nu.20150623.gappssmtp.com header.s=20150623 header.b=P+6xRp46; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388552AbfFJIoy (ORCPT + 99 others); Mon, 10 Jun 2019 04:44:54 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:36840 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387992AbfFJIox (ORCPT ); Mon, 10 Jun 2019 04:44:53 -0400 Received: by mail-lj1-f194.google.com with SMTP id i21so7139836ljj.3 for ; Mon, 10 Jun 2019 01:44:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nikanor-nu.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0HrE3SWkxzOWZuyGJJRbueeV0IUbEbszue8wV9SG4eE=; b=P+6xRp464OEsrDvQLaPAgcbhExhH/IEbRLI1cELg/Lj4ryaES0m2U4LUWy+RJC4Ox+ GA3gM1T7y4w5ZBR+B2NI7izXzfLWg84kWqDm9Fwq4IKBv73JPinCa2S+yJ2sjV+KaduA MqMl7Z0bznMJOmNiwNX5r1XNSfwkOtMtPSNfLppmyNDbMF90at1QEZH+8QsM8aT7MBeJ SESuaZRloNjlYHTPAkKgSGK0enk5GolaP6qVAoGQTRmCz7JVa3HK/SlrYcUB93mtD4nh 2OZ8q0HyWa7PuwgeagjbHefqeoYNsCIVxbn6KoiRnsjAFjhut1GbN58VBtZRRwFxykjd 4L6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0HrE3SWkxzOWZuyGJJRbueeV0IUbEbszue8wV9SG4eE=; b=GpsePD9fDb2zTmlrG9NFqRBHJYTjiIUV0aE4rN5T/+dy1VFUAZ7ryYlWp/XjMpZ8vk a/GIFxPHxpDXv1Bj76DL11nqJIKDEYzZZW1Gvua43n1iCoJDW8z8JhvQq5OjEPLCBWzu KGwKn3JXPqyXGM5Kbt9sbP4S48MSUihZM5HQXfcRadcYRrRTsBpach7gV+S78v6WcsfP EQ/2QZI5yLhBcRQjwGSU3qnBkXqRpna4ep5O8kyrCMQJwD/vf7Xi+bEcRyJv/DNzy2S3 fyL+jv43WAx+916hsWMd3pwvCZYyjCFXePzTEJQPKTWewQtg5lHucyaWKnDr+WLnyqYq tEcQ== X-Gm-Message-State: APjAAAWry+me3FaCzQ2UTaf2dD1o+k2AjCDp4UoFpJCWJA8QBb+2s1Hb /TurxHgm9RSa1EZDdHAijNC5dA== X-Received: by 2002:a2e:2c07:: with SMTP id s7mr1934188ljs.44.1560156290949; Mon, 10 Jun 2019 01:44:50 -0700 (PDT) Received: from dev.nikanor.nu (78-72-133-4-no161.tbcn.telia.com. [78.72.133.4]) by smtp.gmail.com with ESMTPSA id e26sm1826486ljl.33.2019.06.10.01.44.49 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 10 Jun 2019 01:44:50 -0700 (PDT) From: =?UTF-8?q?Simon=20Sandstr=C3=B6m?= To: gregkh@linuxfoundation.org Cc: =simon@nikanor.nu, jeremy@azazel.net, dan.carpenter@oracle.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Simon=20Sandstr=C3=B6m?= Subject: [PATCH 2/5] staging: kpc2000: remove unnecessary debug prints in core.c Date: Mon, 10 Jun 2019 10:44:29 +0200 Message-Id: <20190610084432.12597-3-simon@nikanor.nu> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190610084432.12597-1-simon@nikanor.nu> References: <20190610084432.12597-1-simon@nikanor.nu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Debug prints that are used only to inform about function entry or exit can be removed as ftrace can be used to get this information. Signed-off-by: Simon Sandström --- drivers/staging/kpc2000/kpc2000/core.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/staging/kpc2000/kpc2000/core.c b/drivers/staging/kpc2000/kpc2000/core.c index 93e381198b45..9b9b29ac90c5 100644 --- a/drivers/staging/kpc2000/kpc2000/core.c +++ b/drivers/staging/kpc2000/kpc2000/core.c @@ -311,9 +311,6 @@ static int kp2000_pcie_probe(struct pci_dev *pdev, unsigned long dma_bar_phys_len; u16 regval; - dev_dbg(&pdev->dev, "%s(pdev = [%p], id = [%p])\n", - __func__, pdev, id); - /* * Step 1: Allocate a struct for the pcard */ @@ -506,7 +503,6 @@ static int kp2000_pcie_probe(struct pci_dev *pdev, writel(KPC_DMA_CARD_IRQ_ENABLE | KPC_DMA_CARD_USER_INTERRUPT_MODE, pcard->dma_common_regs); - dev_dbg(&pcard->pdev->dev, "%s() complete!\n", __func__); mutex_unlock(&pcard->sem); return 0; @@ -540,8 +536,6 @@ static void kp2000_pcie_remove(struct pci_dev *pdev) { struct kp2000_device *pcard = pci_get_drvdata(pdev); - dev_dbg(&pdev->dev, "%s(pdev=%p)\n", __func__, pdev); - if (!pcard) return; -- 2.20.1