From patchwork Mon Nov 9 10:06:43 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 56208 Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp92908lbb; Mon, 9 Nov 2015 02:12:52 -0800 (PST) X-Received: by 10.67.24.97 with SMTP id ih1mr38861244pad.65.1447063972749; Mon, 09 Nov 2015 02:12:52 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id sf2si21501262pbc.162.2015.11.09.02.12.52; Mon, 09 Nov 2015 02:12:52 -0800 (PST) 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; 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; dkim=neutral (body hash did not verify) header.i=@linaro_org.20150623.gappssmtp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753198AbbKIKMu (ORCPT + 28 others); Mon, 9 Nov 2015 05:12:50 -0500 Received: from mail-wm0-f47.google.com ([74.125.82.47]:38749 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750823AbbKIKHT (ORCPT ); Mon, 9 Nov 2015 05:07:19 -0500 Received: by wmec201 with SMTP id c201so63298529wme.1 for ; Mon, 09 Nov 2015 02:07:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro_org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+Z/0BpCDFj+KOL9o+RdWTzZhYWHwmASdya6jT1NBr4k=; b=wsdaMrqoES4sameSyOGUztRaGUXBZUPpnns3jb+fYXneIqHrVbMToZ5JiNdXqGtP1u haF+oR74HqJAeCJtOOJSHcpwb3ZOLwI+o5CnLYAVSv0SCFJppZlGN2Dn5F7BXm1YngeE +qH9yxaHznBlafv2I6lZXuEGp+hXCTf6L03oFxrX9+QV8FF4xNurFgEf4/eYHgJW2TLd ID/2sDYfXy3q6pXWq2/jXPUm54kqKJa+Ip7vF6epF8OLCziDFGeKXnmrJlA6Le6v+s5l nRBja306Z3YhNdECFW0sLzZKaMk/ZT2WqmLbd0bJqawt29zyTKSCuyjgLU6uMfZiy2+0 NUUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=+Z/0BpCDFj+KOL9o+RdWTzZhYWHwmASdya6jT1NBr4k=; b=ZlGT0oeYKwi0wjxhLzpHX5N1pHegeGUdB/Qhxh7LriDpOxBDLMIynMd/P2FofShNZ3 wu7jfMRw9hEb4sftus1XAshjFfsC8327g98QCvcjRKAkAomWmjCiVn9h0NJET0av0Sg6 4AJbYQ3xIy9k600h3OByZzprBb5rvzRbZR97S3gJJlRYtBIY209HzqViYvLB3Atj3QDn CMzD/SaNsi0dJvOVGQV2jAVH0BUqoKoi+CQEGGAWtV6NkK/I+SYqkgG7LzUCuHpaOUVE Uu6vd2BRWGdvSDTAQ231q8uuULGqmMEH97sAKzafhqmCq2ot7K3LO1KhEosioQVcs69q PQjg== X-Gm-Message-State: ALoCoQnscnYSFcA8eNCQ8F4ayNIa8wzN3CRjgyYCpNU04XUKcsxSRcWX4fU9TJCaY16gf5DThNkI X-Received: by 10.28.126.215 with SMTP id z206mr4225648wmc.71.1447063637931; Mon, 09 Nov 2015 02:07:17 -0800 (PST) Received: from localhost.localdomain (sju31-1-78-210-255-2.fbx.proxad.net. [78.210.255.2]) by smtp.gmail.com with ESMTPSA id t126sm13384201wmd.23.2015.11.09.02.07.16 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Nov 2015 02:07:17 -0800 (PST) From: Daniel Lezcano To: daniel.lezcano@linaro.org Cc: ysato@users.sourceforge.jp, tglx@linutronix.de, linux-kernel@vger.kernel.org, uclinux-h8-devel@lists.sourceforge.jp (moderated list:H8/300 ARCHITECTURE) Subject: [PATCH 05/15] clocksource/drivers/h8300_timer8: Remove unused macros Date: Mon, 9 Nov 2015 11:06:43 +0100 Message-Id: <1447063614-4662-5-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1447063614-4662-1-git-send-email-daniel.lezcano@linaro.org> References: <1447063614-4662-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Daniel Lezcano --- drivers/clocksource/h8300_timer8.c | 4 ---- 1 file changed, 4 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ diff --git a/drivers/clocksource/h8300_timer8.c b/drivers/clocksource/h8300_timer8.c index 62a7f8c..88b9b06 100644 --- a/drivers/clocksource/h8300_timer8.c +++ b/drivers/clocksource/h8300_timer8.c @@ -24,7 +24,6 @@ #define TCORB 6 #define _8TCNT 8 -#define FLAG_REPROGRAM (1 << 0) #define FLAG_SKIPEVENT (1 << 1) #define FLAG_IRQCONTEXT (1 << 2) #define FLAG_STARTED (1 << 3) @@ -32,9 +31,6 @@ #define ONESHOT 0 #define PERIODIC 1 -#define RELATIVE 0 -#define ABSOLUTE 1 - #define SCALE 64 struct timer8_priv {