From patchwork Mon Nov 9 10:06:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 56202 Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp90873lbb; Mon, 9 Nov 2015 02:07:55 -0800 (PST) X-Received: by 10.66.102.101 with SMTP id fn5mr30186618pab.66.1447063672697; Mon, 09 Nov 2015 02:07:52 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z2si21507001pbw.3.2015.11.09.02.07.52; Mon, 09 Nov 2015 02:07: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 S1753043AbbKIKHo (ORCPT + 28 others); Mon, 9 Nov 2015 05:07:44 -0500 Received: from mail-wm0-f54.google.com ([74.125.82.54]:34752 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752898AbbKIKHc (ORCPT ); Mon, 9 Nov 2015 05:07:32 -0500 Received: by wmnn186 with SMTP id n186so95239067wmn.1 for ; Mon, 09 Nov 2015 02:07:27 -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=49IIag/hL/GfsGabGm3J0S546II5QqSYZyZ8tEYLjb8=; b=OeVBG5WBOv/Cb2vuJppEhuXO2db6zMVKMoTTbvW0m3wISXWmJhcVs5xfcyHGdxk/uN aS8AjhyAjUaQmujt/GRx982I304Vh9qB09/p+RLnioUxFHe8xYv7ejjmkaYf2RgahQqs 7PYKUZRwe834vEKprEkPznVqGfaVIfseVkvfLJvtij32xF/QRJtBYvR164OXnHBpADSS VN/jfFTCo6pIaxfmL7cz8U9C4nxrkQgRrCkOVj3u4sov5c71pk7qSu07x2Kaq3mYV2W1 ghBW4nPgo2Z+aUqBdTrm7ieDxfeu+m/O+jXJiloyfQF9SXw0Xjb6/fG2xTfElwy1Yrhs ppDA== 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=LAEy5wbKhlL1B7iKHLOt0Rvf/Zg5Lol5ttOgGIyY+7IOq51bNdb7jFnh09U8ZIE/g+ zKa/hyH23SHNaN9o+VwUmISA6htWnlvTOH79dy8K6i1MAS9CeS3ilmK/QH2i/fNl3Zfq S0DB1CDD5GTHyZIcit5NcdeM4sP7oQJX+RdbvYW/J3Upcsh/uOxuDmkpq/bxkdxaJB8y nWbFJ4xj8j/wB8m8C7ZKXN5E1tTHnd1EljVgXrULhqk1D1OrOyGIjYf0uPxHC8KFW/bI tuCrRvZQJppgymoJHFAXqqJUpTGj+OpGv7xXzfzq/w4CVFkeafmI1VS+Je/hkySRvr87 rmjw== X-Gm-Message-State: ALoCoQlCEtK90hjFwBG9XWK5KOkpnTlj78Ko+PurY9yd492QEeBsTPoJ/qahP0WEu5GXamWxAUeS X-Received: by 10.28.63.22 with SMTP id m22mr10672238wma.58.1447063647194; Mon, 09 Nov 2015 02:07:27 -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.26 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Nov 2015 02:07:26 -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 12/15] clocksource/drivers/h8300_timer16: Remove unused macros Date: Mon, 9 Nov 2015 11:06:50 +0100 Message-Id: <1447063614-4662-12-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 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;