Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2966615ybi; Mon, 10 Jun 2019 01:46:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqwS0Z/7JBazYHhDh6r7CfD9eSg/wA3naS40VVeGUV6nKmp44wbjND+arr1QGsb3JHcxuHAg X-Received: by 2002:a62:640e:: with SMTP id y14mr70751493pfb.109.1560156361858; Mon, 10 Jun 2019 01:46:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560156361; cv=none; d=google.com; s=arc-20160816; b=FkLUDffcV2AH71YgW7ef/2rMoD+CO1nAPEo+lyw6wsiU0jibF9B0i/ZBlbE+jYFMkX XK3HIvh7xhR+pshuuCgkTinHEUNCU0kTtufjK5iuM9BpPqI0+5OMwVQOWPluJowGei9l gYHrtH7thmod4LjsepVVb/idjzCo6o7HLhtUihgfbE4La3g76KEcmCBC1nlVGIt+Ylq5 V64QAoJAv2CeRsp6VaD0d2o+pWMXO/rUPj4Z+NozW1Ej7EOCydaFdonPERUVibWnS1/3 bJu0hjDNkTiDhc3bd2qZUxGbuKuxFCp361cXUHf4lfv1sUh9cyL2UEqa1Sq01Mvt3R9K tzvg== 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=9pHoNwA6p3prwHBUsOArztRsZNohgEg95rwPndspSpc=; b=Dka992tD/IcRLCPRvOXPYi4etTGi3KMxuCuQeX5ZEukcdeIOuDfG1RsHc+6i+yJx2a KL/k9ZQNMqhEdJCivm+mDXclh4Uyd/aPOJhy1GzAuArWsn7mCImW0PFrfcexXjo+O2Fx /4uCEnqS/gm19vzhS/ZpGVgrFCBkkX+5NysWSW65q8yz4aWJRru1nAz9ME+b5ueSEXAS cTDR80sAXlhJpDRkyeW+iuYO6dUVwEO8a+IXJhCin0jp0tGoDK5d1mOS9+qYDeTKapJM ub/fQVO1lTU3jrWz76SasvVKrocAsZOSGn1nYxdfcVKzztMLVWWWkbkcHliJ2R+XGU+2 IyDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nikanor-nu.20150623.gappssmtp.com header.s=20150623 header.b="vVKhK3Z/"; 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 x19si4650879pln.229.2019.06.10.01.45.47; Mon, 10 Jun 2019 01:46:01 -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="vVKhK3Z/"; 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 S2388602AbfFJIoz (ORCPT + 99 others); Mon, 10 Jun 2019 04:44:55 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:38119 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388471AbfFJIox (ORCPT ); Mon, 10 Jun 2019 04:44:53 -0400 Received: by mail-lf1-f65.google.com with SMTP id b11so6023235lfa.5 for ; Mon, 10 Jun 2019 01:44:52 -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=9pHoNwA6p3prwHBUsOArztRsZNohgEg95rwPndspSpc=; b=vVKhK3Z/9oUDrWOnijqul3sgVLBAZtHkrf0+/0H58vpn8/4+XDVOD9r7rLBrsrE0nv r348ZzWoLlWN1m4qW9vRFh8hi6LiUJde/q/6D14G3DJtxsfoeBSI+1Dh4gXUbVjLPnMR GZpKqGDVT3nosshMJQmk6dNLGi8+YI3+fAVt9ae8V8ybQTLAYKt05uLFfauyPcN6Cg59 qqYWeOrREnbUV/pY/wAWzpUOj3GxSwL1MO/Mj5qa7PoMxfGKClkrMadKm7whQWfE/Dh7 oaezOSdJHK7xPeOjYE8PWg6HSL9317hdXm5MkQ0Q158lLdzNfJks+wR9uPLFi4AWo4d7 36fQ== 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=9pHoNwA6p3prwHBUsOArztRsZNohgEg95rwPndspSpc=; b=HN5EQTD0QFXszOTtq7MXTWXtItphRc5OTNS+lmKkwfEchcR97qd8O4zcvajm5+ni5M qZpNSFJEoa1c3jPH3RzxSl1lAUrd2jVuKoukGahrxS10oAOSgi9SPYAGvgJcX3HgIN9f bPc5E+oXMRRoSE7G059MoDLTn+XZp7gF+0pVfBJFfYjUQx1oh/jr+fjnzbeD8uPHGEvI 2d1LTqPEwaSmmUY+60J0DIvhgH1uUs+FlrPkYLi/gjwOi/rTR399tSoUhonQDvnrhbEz TRsOOSiKlx2qXsR45poHAzjlLQkvSdVu1ua1KdQSG1VZ664+dMoB+stbG8D3pw0HZWii QsVw== X-Gm-Message-State: APjAAAVu4a/M7Ulz+Y+1jgTz2GfjR2BLpjPQmgH3g7Jf8QjQwPhhZw5M M3vtPHZKseTs+Dk003/m0AJD6Q== X-Received: by 2002:ac2:528e:: with SMTP id q14mr7036944lfm.17.1560156292107; Mon, 10 Jun 2019 01:44:52 -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.50 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 10 Jun 2019 01:44:51 -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 3/5] staging: kpc2000: remove unnecessary debug prints in dma.c Date: Mon, 10 Jun 2019 10:44:30 +0200 Message-Id: <20190610084432.12597-4-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/kpc_dma/dma.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/staging/kpc2000/kpc_dma/dma.c b/drivers/staging/kpc2000/kpc_dma/dma.c index 059932ab5907..8092d0cf4a4a 100644 --- a/drivers/staging/kpc2000/kpc_dma/dma.c +++ b/drivers/staging/kpc2000/kpc_dma/dma.c @@ -92,8 +92,6 @@ int setup_dma_engine(struct kpc_dma_device *eng, u32 desc_cnt) unsigned int i; int rv; - dev_dbg(&eng->pldev->dev, "Setting up DMA engine [%p]\n", eng); - caps = GetEngineCapabilities(eng); if (WARN(!(caps & ENG_CAP_PRESENT), "%s() called for DMA Engine at %p which isn't present in hardware!\n", __func__, eng)) @@ -161,8 +159,6 @@ void stop_dma_engine(struct kpc_dma_device *eng) { unsigned long timeout; - dev_dbg(&eng->pldev->dev, "Destroying DMA engine [%p]\n", eng); - // Disable the descriptor engine WriteEngineControl(eng, 0); -- 2.20.1