Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2966802ybi; Mon, 10 Jun 2019 01:46:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqwY6wwC44azgBo51gBY8W8n/hzgjy+0PfPsEysHcO799geETpTs+yKxaBtcUTCa3qQLu6Fl X-Received: by 2002:a17:902:6ac4:: with SMTP id i4mr65274706plt.75.1560156377731; Mon, 10 Jun 2019 01:46:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560156377; cv=none; d=google.com; s=arc-20160816; b=cD66ER/lhNojtf1MrrBURmLLJ3TEN0RLUTDpVC1ZAuecE/vqQeHlbN8e2RicBixCpp OuV+MMO1vJ2cCEzmJJ3IijTopIS+fa6rtjgoJhtVYxGOwZJkiAvjiBL1EpDCzJnnavpe DDvRbwF8MZ4e5+rGznWeTKVIcvJ1q/eJMO/Eh0dJmMpvtGRlVyvb/VK4MBEK9yHl5r4o qxkffsQvUZeN20W2kr2eRbw/qA1xNPMIKBrcAZILrvdvkOoCrFaHNUDKQAPSqtHkv5UW e6MREWr5oQ7Y65pJ5GYy7dt8HJo/J8QZMK7N7xI/vcZkGevOhS/99nvf2MGnffleAtze wd0w== 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=viMSGsc2sH0W4IamaJJExlMYXXNFTJxIq9rBwrE28ZY=; b=rksxUj9adV4KoALw4IoqxsBbnwYi07iseIVDICkVdxW7Ba/DIKF8yAwJyEvb/fgCTV rjCdOXHYVkV+wzO5Be/VoU/jRKHGqvgPw8ITvm95PuH02OoI2Rb6S0PTP0/G+ii4MggV kav7NpZLC48aiuFCSPe9//tVhk9MEGzqijdgw22BpzG/nyVBp0p1yHQPejR7eaynNF4a 1ndPz+DV99p9O/uKzUpo2KQDUyHITPBGWE8LbcmeXjcdL96jqiyUD20OfYhhCM9vsHtr CDgp3kYfnt8JHU01UqLuTQj53t/zcZuJV0u4y5Qog6na4stM14q6u3ch0EcDjpS/aXoI 46TQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nikanor-nu.20150623.gappssmtp.com header.s=20150623 header.b=XzZad7db; 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 18si9011191pgb.104.2019.06.10.01.46.02; Mon, 10 Jun 2019 01:46:17 -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=XzZad7db; 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 S2388510AbfFJIox (ORCPT + 99 others); Mon, 10 Jun 2019 04:44:53 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:35079 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388015AbfFJIow (ORCPT ); Mon, 10 Jun 2019 04:44:52 -0400 Received: by mail-lj1-f194.google.com with SMTP id x25so2535570ljh.2 for ; Mon, 10 Jun 2019 01:44:50 -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=viMSGsc2sH0W4IamaJJExlMYXXNFTJxIq9rBwrE28ZY=; b=XzZad7db3BzZ+fs690M8G/7gjIdkmNFjn87kBq8NB4vwHApSl3dvbKDaEGMnLyEbJT S2jBdwEIQoat/s5EhPGVUoU7i2MtFO9extCYw1u1l6ZWplHwsd9G0M9CHwklY559gtgZ yQ/yibKNitRd116j5OwhJHvOAQEkPZiWo/VnIqi4bt7jj2o0jInEn6w0TK6hG/dTWiUZ 5LW1ZZ/NMk6F1mGVCpjpr4gWvW//8p5Ri6LNX1Bq7faMHNG+wfDQtZIzre19vj/1cRO+ Pe6t8kPTpMZRLgHsdfdxJE4MQSsUK74nm2dHz1Qyva/34Sifnp/aURX4N4OwD7AhrXZq DO2w== 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=viMSGsc2sH0W4IamaJJExlMYXXNFTJxIq9rBwrE28ZY=; b=gk8v6BbBI+5ktCMbyViCixMQxqmbIDceJvySmDCJKr78ntIg3pJeycKQ4nc28zb58O WtxFM7JAGYUjv+hxUuan/sdjFqcbsRIUWP7Lg+DigBuyFXFNjxJNXtGfWlhz6NY/qK0D PXmOn0rXuNO4EEYhgi9OH+D03r/7bEua/QPNL8mkmzg8E1KaoJwDTxjTW2L31Q71Ri+g kESzCebLy0rXgLhIJnUFvl/966bvD5teGHSNQNrf4qDVT8qiMjW/+B1zj4c24V3oZ9PZ 7ZaGXneu89lozz0hj2PCRPrOOF7w7sXyXfg5wE7gw65YfBd1LPEPNzNhv6jJmwzM7LCZ Ks+w== X-Gm-Message-State: APjAAAWRZNQwMMmIQK+Cp6BwWPJHyYMSnaCg2ZU2ajGXn7L8FkJc9wlb EgFlw34eiNsT9GE25bflgJwL+A== X-Received: by 2002:a2e:824d:: with SMTP id j13mr34494963ljh.137.1560156289819; Mon, 10 Jun 2019 01:44:49 -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.48 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 10 Jun 2019 01:44:49 -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 1/5] staging: kpc2000: remove unnecessary debug prints in cell_probe.c Date: Mon, 10 Jun 2019 10:44:28 +0200 Message-Id: <20190610084432.12597-2-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/cell_probe.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/staging/kpc2000/kpc2000/cell_probe.c b/drivers/staging/kpc2000/kpc2000/cell_probe.c index f731a97c6cac..138d16bcf6e1 100644 --- a/drivers/staging/kpc2000/kpc2000/cell_probe.c +++ b/drivers/staging/kpc2000/kpc2000/cell_probe.c @@ -344,8 +344,6 @@ static int create_dma_engine_core(struct kp2000_device *pcard, size_t engine_re struct mfd_cell cell = { .id = engine_num }; struct resource resources[2]; - dev_dbg(&pcard->pdev->dev, "create_dma_core(pcard = [%p], engine_regs_offset = %zx, engine_num = %d)\n", pcard, engine_regs_offset, engine_num); - cell.platform_data = NULL; cell.pdata_size = 0; cell.name = KP_DRIVER_NAME_DMA_CONTROLLER; @@ -414,9 +412,6 @@ int kp2000_probe_cores(struct kp2000_device *pcard) unsigned int highest_core_id = 0; struct core_table_entry cte; - dev_dbg(&pcard->pdev->dev, "%s(pcard = %p / %d)\n", __func__, pcard, - pcard->card_num); - err = kp2000_setup_dma_controller(pcard); if (err) return err; -- 2.20.1