From patchwork Fri Dec 18 14:18:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 58705 Delivered-To: patch@linaro.org Received: by 10.112.89.199 with SMTP id bq7csp1061468lbb; Fri, 18 Dec 2015 06:28:42 -0800 (PST) X-Received: by 10.66.102.37 with SMTP id fl5mr5621850pab.24.1450448922213; Fri, 18 Dec 2015 06:28:42 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e82si20263564pfd.138.2015.12.18.06.28.39; Fri, 18 Dec 2015 06:28:42 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753773AbbLRO2g (ORCPT + 29 others); Fri, 18 Dec 2015 09:28:36 -0500 Received: from mail-wm0-f46.google.com ([74.125.82.46]:35169 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933142AbbLROTc (ORCPT ); Fri, 18 Dec 2015 09:19:32 -0500 Received: by mail-wm0-f46.google.com with SMTP id l126so66174109wml.0 for ; Fri, 18 Dec 2015 06:19:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=49IIag/hL/GfsGabGm3J0S546II5QqSYZyZ8tEYLjb8=; b=gR/IDNhYzgxXvB7dHsl4ByNQleL8O/fIly4EjhCYr0i0S0KnL3zLd8YElrqzPWsno8 bgpqPYQhlqaTa0VTwzfrdfsCbZkSFWXoUOLdVIrYX+GHFtFMgNpqwbcHQp03qnK6hGYp 3ZyZIznuVZ6lRjIAXtFQo7DSsji5GWQ52asHk= 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=49IIag/hL/GfsGabGm3J0S546II5QqSYZyZ8tEYLjb8=; b=RsUIDjKY3bCFQ2Hw5v8hnnnlJD8Z9FwDEsdvmoJ3EC2G2aV+saRQoQCXbzmWfXZZ6D uyHwqbKBFqFyIRFGKbSnA+RVQay8JzJspOeNkM/9pMZ38HhINd9okqtJwDkJ4159cKay ipCGMuFSGEdzLNeNsI7dfFppctiCXPX4Bhbf49vwobqa9Xq2iBBYDFvE7BTrpXvkK3yK vhoMF4gwjFV33DSJCbLozm3o6mh+LVPwQpRkqn9an2jxQJfP06iYXibxQ+tJJ6EyJeE+ lzwhwtMIytA9Nc+rbTGK0IJbIaO7Mqu9lNBqfwG9h6J9rtg56Go1CF348neTWE9Z7Va5 TBJQ== X-Gm-Message-State: ALoCoQkcRdLUT2tOxmgcQxUyxW3oP8cPU+BullrRP7oHIxWexnmIIxUoBJnXSOrIPCk4WMdJJTluAz4OSud03L4ugG4ffeAhKQ== X-Received: by 10.194.87.99 with SMTP id w3mr4324868wjz.76.1450448371732; Fri, 18 Dec 2015 06:19:31 -0800 (PST) Received: from localhost.localdomain ([78.210.255.2]) by smtp.gmail.com with ESMTPSA id ql10sm15010027wjc.23.2015.12.18.06.19.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 18 Dec 2015 06:19:31 -0800 (PST) From: Daniel Lezcano To: tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, mingo@kernel.org, Yoshinori Sato , uclinux-h8-devel@lists.sourceforge.jp (moderated list:H8/300 ARCHITECTURE) Subject: [PATCH 49/69] clocksource/drivers/h8300_timer16: Remove unused macros Date: Fri, 18 Dec 2015 15:18:02 +0100 Message-Id: <1450448302-27429-49-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1450448302-27429-1-git-send-email-daniel.lezcano@linaro.org> References: <5672CB9E.7090707@linaro.org> <1450448302-27429-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 The macros are no longer used in the code, remove them. Signed-off-by: Daniel Lezcano --- drivers/clocksource/h8300_timer16.c | 18 ------------------ 1 file changed, 18 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_timer16.c b/drivers/clocksource/h8300_timer16.c index 1c9dd02..bc9289b 100644 --- a/drivers/clocksource/h8300_timer16.c +++ b/drivers/clocksource/h8300_timer16.c @@ -14,29 +14,11 @@ #include #define TSTR 0 -#define TSNC 1 -#define TMDR 2 -#define TOLR 3 #define TISRA 4 -#define TISRB 5 #define TISRC 6 #define TCR 0 -#define TIOR 1 #define TCNT 2 -#define GRA 4 -#define GRB 6 - -#define FLAG_REPROGRAM (1 << 0) -#define FLAG_SKIPEVENT (1 << 1) -#define FLAG_IRQCONTEXT (1 << 2) -#define FLAG_STARTED (1 << 3) - -#define ONESHOT 0 -#define PERIODIC 1 - -#define RELATIVE 0 -#define ABSOLUTE 1 struct timer16_priv { struct clocksource cs;