From patchwork Mon May 13 11:48:07 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 243388 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-ob0-x238.google.com (mail-ob0-x238.google.com [IPv6:2607:f8b0:4003:c01::238]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 32ECB2C00A8 for ; Mon, 13 May 2013 22:01:56 +1000 (EST) Received: by mail-ob0-f184.google.com with SMTP id ef5sf978958obb.11 for ; Mon, 13 May 2013 05:01:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:x-google-group-id :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; bh=iHWp9iQpbUuh88gi+WqX2ntJO4YzVFhvOc86GrTqj8Y=; b=OMp+dwDi9GokkKekTHD68KcMe6PI6xxIFKnIWAMBoAWCoEeTrQDTjz04rYbDv0MLnq kbx/EuGZReywVWAvAyoIKTA8wF/w2qYeIHFwEq3VTGX8j5OOyo26awAvop1oq9y1aKCF 91anLLlpqoF0FlyyGhcJE8WzyX/p8RHf5+WGkW1WDYUr87Eu22MdH66lMuDSKJSmq62f bMgZAP5560jG/qlAbagtCZkKs6tFLyWIFuruUyj8+YY1tJAQRwTg6wp/LX0QKPZY86Zq MwJc05IeajkJEFUe27u1dxJLAHFFkTY3wJasHXjon/z8+OWKUj71LgpyWLEzCOe+stjk +a9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=iHWp9iQpbUuh88gi+WqX2ntJO4YzVFhvOc86GrTqj8Y=; b=I46Gy88h3GuaBmdIM5mZ489I0lZtd4lv8V4O7iJThN4E7xwDJ/39g+ftM1c1CnArqc /j4Y0UpfaJ+haQG5mLo7493I/Ow8en7ar/PMOfYTl7QjzM+RUiOeHfTRRS3EiCskqAU1 MvYmhxthdqmg4TBxWEdTdahgO4Ir11dcKUZhaSCBB+3hZR4ZSafmDhJj1pqJhOPbhL5p YrW3r8xd4sVsZy8YkMYiMJv1G9YadFmIxqbktR+b8cIe+CQT1+QdzvYRLuGA1zTCYg1c yGxBQedzE8kE/p6qBbrThH06h7h4JrmPdN3o68LPiIdya8fZxc7Cq1hPoyQNvHrIhxJk wlrg== X-Received: by 10.50.33.14 with SMTP id n14mr1306453igi.3.1368446514681; Mon, 13 May 2013 05:01:54 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.103.4 with SMTP id fs4ls1826625igb.14.canary; Mon, 13 May 2013 05:01:54 -0700 (PDT) X-Received: by 10.66.122.200 with SMTP id lu8mr4297223pab.4.1368446514387; Mon, 13 May 2013 05:01:54 -0700 (PDT) Received: from mail-pd0-f181.google.com (mail-pd0-f181.google.com [209.85.192.181]) by gmr-mx.google.com with ESMTPS id xb6si1841177pab.0.2013.05.13.05.01.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 13 May 2013 05:01:54 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.181 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.192.181; Received: by mail-pd0-f181.google.com with SMTP id p11so4361067pdj.12 for ; Mon, 13 May 2013 05:01:54 -0700 (PDT) X-Received: by 10.68.51.234 with SMTP id n10mr1402417pbo.221.1368446514311; Mon, 13 May 2013 05:01:54 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id q18sm7131343pao.4.2013.05.13.05.01.52 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 13 May 2013 05:01:53 -0700 (PDT) From: Sachin Kamat To: rtc-linux@googlegroups.com Cc: a.zummo@towertech.it, akpm@linux-foundation.org, sachin.kamat@linaro.org Subject: [rtc-linux] [PATCH 09/15] drivers/rtc/rtc-ds1302.c: Remove empty function Date: Mon, 13 May 2013 17:18:07 +0530 Message-Id: <1368445693-24639-9-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1368445693-24639-1-git-send-email-sachin.kamat@linaro.org> References: <1368445693-24639-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQlx5kXbG37Aq9z0y1weKk8L9ZAJZelD+ttweqwiVifohktzOdAJjZdBBduMbVAK+r+A6Vlp X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.192.181 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: Sender: rtc-linux@googlegroups.com List-Subscribe: , List-Unsubscribe: , 'remove' function does not do anything. Hence delete it. Signed-off-by: Sachin Kamat --- drivers/rtc/rtc-ds1302.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/rtc/rtc-ds1302.c b/drivers/rtc/rtc-ds1302.c index 1f8ee63..7533b72 100644 --- a/drivers/rtc/rtc-ds1302.c +++ b/drivers/rtc/rtc-ds1302.c @@ -234,17 +234,11 @@ static int __init ds1302_rtc_probe(struct platform_device *pdev) return 0; } -static int __exit ds1302_rtc_remove(struct platform_device *pdev) -{ - return 0; -} - static struct platform_driver ds1302_platform_driver = { .driver = { .name = DRV_NAME, .owner = THIS_MODULE, }, - .remove = __exit_p(ds1302_rtc_remove), }; module_platform_driver_probe(ds1302_platform_driver, ds1302_rtc_probe);