From patchwork Sun Nov 26 00:41:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cole Robinson X-Patchwork-Id: 119647 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp79063qgn; Sat, 25 Nov 2017 16:41:39 -0800 (PST) X-Google-Smtp-Source: AGs4zMaGAD7ccZRlcTCnoQmydE0V6kQSYpVkmKCeUIcqJTXLYTZK/R8b4IPfwT0rOzy1B8u4t3yo X-Received: by 10.84.232.8 with SMTP id h8mr26955871plk.274.1511656899494; Sat, 25 Nov 2017 16:41:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511656899; cv=none; d=google.com; s=arc-20160816; b=aYBYcyEFFy7axct2UX98IL6VavEOcr4vCnHOXy0pX5DO7GUSnIGgcRfLr0N/+2AWGW 9Qg4oKzOlz4vbpdn+KW1AhEVmBznDpZGYbec1zOC969BhYl0Dkk8SzeaPOrNw8O5TT71 p0IcXIXzpD9u9NmTEYz3tZmQ6yIBQ59H/OXpQ9C2zScn9Hs4cERKxVjw/HvbH0DoZGzG 8cC1+Zn9jA6alNcaO4nMeLeqIROEQHMwfv7ruhf5xHHH/LxN7pC0HY4PcQSw7kilzHIh psIaRHhqI0Akk/IV4m3Vfp6AtMkIlEVCllMWs+RC42z0NYVg7z9y9uNLsOv4ny6sQQQx jgyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=2H1b6SE5IXlZd5buTDs1b/72i71vXBC6e8k0MtkwlL4=; b=PQflmiHOXOD3BPPDySzsBNYZbONFVG7CiGcKUtbM5hcKoE7kadZ4qH4PQEOaT9Q1zy YZTiHwj42mJ+pU/uxWMv57b5AdgmPON23VUv6/8IHgf+9sKWz4tbLqzRedADw5CoR8vs kk5SGJFqBUn88TH1IiNa4si50LPf+6BsWGz+fa+0EnAQVUB0KlQ+xd46u1cximjSHzmu AXYRva6Ay49P8T71vdmo08u63ItxuuG81ThLKkZlBjyWjRBVGIh9rlqUBXV+MvJJTtpq 9GTK8ogVCuBLrMEB+Rd6aEhb1CgK8aluHc2mt9AvEedLUO8WdAR8m76VStu6yHgbZ39L phbw== ARC-Authentication-Results: i=1; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k7si1987823pgq.431.2017.11.25.16.41.39; Sat, 25 Nov 2017 16:41:39 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751882AbdKZAlh (ORCPT + 28 others); Sat, 25 Nov 2017 19:41:37 -0500 Received: from mx1.redhat.com ([209.132.183.28]:56828 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751793AbdKZAlf (ORCPT ); Sat, 25 Nov 2017 19:41:35 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 43152C0587EA; Sun, 26 Nov 2017 00:41:35 +0000 (UTC) Received: from colepc.redhat.com (ovpn-116-92.phx2.redhat.com [10.3.116.92]) by smtp.corp.redhat.com (Postfix) with ESMTP id 18E3F5C8AB; Sun, 26 Nov 2017 00:41:34 +0000 (UTC) From: Cole Robinson To: linux-rtc@vger.kernel.org Cc: a.zummo@towertech.it, alexandre.belloni@free-electrons.com, linux-kernel@vger.kernel.org, Cole Robinson Subject: [PATCH] rtc: Remove unused RTC_DEVICE_NAME_SIZE Date: Sat, 25 Nov 2017 19:41:32 -0500 Message-Id: <2cb5fda40f5ac0a6cc0ab59914c98062741c2e8b.1511656401.git.crobinso@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Sun, 26 Nov 2017 00:41:35 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The last usage was removed in 5c82a6ae0 when rtc_device.name was removed Signed-off-by: Cole Robinson --- Just noticed this when looking at commits a few months back... include/linux/rtc.h | 1 - 1 file changed, 1 deletion(-) -- 2.14.3 diff --git a/include/linux/rtc.h b/include/linux/rtc.h index 41319a2e409b..fc6c90b57be0 100644 --- a/include/linux/rtc.h +++ b/include/linux/rtc.h @@ -87,7 +87,6 @@ struct rtc_class_ops { int (*set_offset)(struct device *, long offset); }; -#define RTC_DEVICE_NAME_SIZE 20 typedef struct rtc_task { void (*func)(void *private_data); void *private_data;