Received: by 10.192.165.156 with SMTP id m28csp386653imm; Thu, 19 Apr 2018 00:23:17 -0700 (PDT) X-Google-Smtp-Source: AIpwx48rZg/samEzHRLxP/YRTs+mh+9PvjWzC1IkG1HTKtZ2WdZpTa12IlU8oSGoiKEHMmFg+mlh X-Received: by 10.98.30.4 with SMTP id e4mr4854848pfe.212.1524122597741; Thu, 19 Apr 2018 00:23:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524122597; cv=none; d=google.com; s=arc-20160816; b=i5JBOFTlE+5byUY9t81LNQ58ByjQnZ/v9j+yxBL1P4228auYffMI1qZW8hnvr+YkGw VwitNJXlXBBNjK0c4gBFsq1jE8pNhKrUf6TOYzsdtC4gw4an6yCrQFPknLt3UHy7zVkv scFLVtjCb8Fi8np+tzcnn0+djFjZwpMr614wp46O9PsiXIkQ6xMzXpvUKoqwny6RBoyR IUtpuDcZ3DWKeWSkcn9zq1SIFFZCzbklxAP3CewRZ3uU3I4JK2YHU1TtllXH2JBGr7tI euEUU+DEtTcePEvq8bjRCBNq9+urbFRhPCBHCDDVgtfch/UmikbK3XQYUlAmyB8Da6Ae NHeQ== 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 :dkim-signature:arc-authentication-results; bh=7r+KtxN1R28gezIYKxrrUmkWNugOgbH+sxaaoijsp4Q=; b=Y4iNdn/MTsJIN1ro5KATxPlTS00qEqOXMxD6CAE98uQb2fxHSEY+n06yHk/Hy4Vo1X dhiTZ8JqjsMUYAGKcE2UkT7955cSsCBwD1kAOEfWnpHlrUsRW5v2ymfPs8a8w1r82pn2 gomTVHrRolaNnSpxi24RC3Oz2VIoty+tMR1cdBzFaqlOFQVEvvDdGCO19JPDAPmGQHsu jPC96h0r6RJuVTOdxhqHw7bimR+QatbBm5Fx36Z+J3PjNOMW0NPpQtuyWP2C90GYbFLV AYFyDmsaOQ2lvEK5tC60jzp8bhje19dayvUUizC9vRcchJtiMA2WrhlqBGsfqnCzC+ZR dm2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=W9NdpcJf; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r1si2608312pfh.177.2018.04.19.00.23.02; Thu, 19 Apr 2018 00:23:17 -0700 (PDT) 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; dkim=pass header.i=@linaro.org header.s=google header.b=W9NdpcJf; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751184AbeDSHVw (ORCPT + 99 others); Thu, 19 Apr 2018 03:21:52 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:33397 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750913AbeDSHVv (ORCPT ); Thu, 19 Apr 2018 03:21:51 -0400 Received: by mail-pg0-f66.google.com with SMTP id i194so2080972pgd.0 for ; Thu, 19 Apr 2018 00:21:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=7r+KtxN1R28gezIYKxrrUmkWNugOgbH+sxaaoijsp4Q=; b=W9NdpcJf1DxW2lvXbmL4/AHdFXaPv4kl3SZtm/Ktf5bUJPacljs2ET/bt0VGyXZC8s /p1iDgpWVwKwVrqaqPNzlYLKzNgp2B6XgzV/HXSDKR73hjIE+JgkCw3di/VKN4c+7P+6 F1KW0ERKRV9jdRk13e5SdMHSJL7PqMWiTFdEY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=7r+KtxN1R28gezIYKxrrUmkWNugOgbH+sxaaoijsp4Q=; b=VLnKdNev/APIili83FfmFfJkBx7U85Sfov11utgkCRjQ4556052JXttTisAXUmqC9t 12Hu+8Zl/wx1XbLHq3CJNp2+Mr4DvZ2Rc+jaMlLyknE+LcmD2sBpJGIdHbsOs6pknKYX hZ+Zl7mLjDs4oziAF9Ml2xQJEVTcL587b4i4lZP4VlUcLFjKolQXuRJMzL37LYlxfs57 Tl61Q1kSlE9M2UOhVzQBiwtpwDwQJTOdYD1ewYE36a/8aWK8f/eMreFvYb5wPLDkNEMg ZmmaP9YzoUaZcTzD/Drv+sCtRyh63je8UCsBHrm1qqisW2fp5gNrwh28rocsOLY8GO27 U/zw== X-Gm-Message-State: ALQs6tDmYcbcPBU/VUG37WRroFNQFdT7v/1PHUQGSI19Y0Nq0gUdCOH/ crR6e9tlq+3Yc3wr7Jd5R/pQLQ== X-Received: by 10.99.107.8 with SMTP id g8mr4218381pgc.271.1524122510725; Thu, 19 Apr 2018 00:21:50 -0700 (PDT) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id c28sm6947598pfe.27.2018.04.19.00.21.47 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 19 Apr 2018 00:21:50 -0700 (PDT) From: Baolin Wang To: ralf@linux-mips.org, jhogan@kernel.org Cc: kstewart@linuxfoundation.org, gregkh@linuxfoundation.org, tglx@linutronix.de, pombredanne@nexb.com, arnd@arndb.de, broonie@kernel.org, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, baolin.wang@linaro.org Subject: [PATCH] MIPS: sni: Remove the read_persistent_clock() Date: Thu, 19 Apr 2018 15:21:06 +0800 Message-Id: <0b52cfd4def5dd0287a1fd48c632a32e7cc3117b.1524122311.git.baolin.wang@linaro.org> X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The dummy read_persistent_clock() uses a timespec, which is not year 2038 safe on 32bit systems. Thus remove this obsolete interface. Signed-off-by: Baolin Wang --- arch/mips/sni/time.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/mips/sni/time.c b/arch/mips/sni/time.c index 0eb7d1e..dbace1f 100644 --- a/arch/mips/sni/time.c +++ b/arch/mips/sni/time.c @@ -171,9 +171,3 @@ void __init plat_time_init(void) } setup_pit_timer(); } - -void read_persistent_clock(struct timespec *ts) -{ - ts->tv_sec = -1; - ts->tv_nsec = 0; -} -- 1.7.9.5