From patchwork Thu Aug 6 08:55:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 51994 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by patches.linaro.org (Postfix) with ESMTPS id 7285720539 for ; Thu, 6 Aug 2015 08:56:22 +0000 (UTC) Received: by labth1 with SMTP id th1sf25007812lab.2 for ; Thu, 06 Aug 2015 01:56:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=X0xJU0mSEyNhZplbOuwVtpDLbk9V73S4GH07aI9idks=; b=X2ZIlFn8aPMhsjBSEJ9H0EBt59bqbGg95MhdHTzE94uABXQjFpaPeiRnpyIslBhEp/ f/48E1QRsDexoVn/eSdoVc3tlQn6M1DK569WRf0FlltjhPnzHQCK7GEov+1fn/Qjsr09 SzTjMmEKJxZdnFelz1BEk0uuA5fe04IuLXGhwsd5FGdB/pVpbZfwWRS59Xc6duUvJIug dj9D3nCvcGfsZ9ekEWCmp5FPDmnehvbkYwmFa6ihYmjPm/W90heBQhvMSzebFUtGGgYh uKjkzoiTo7oNK2Ljo13prulGuWnK8T5S+e6w3jssh5J7ncmGrJOdIfAz9heOhdg8qSXT PIYg== X-Gm-Message-State: ALoCoQnw92IPf4qSxW2tXYyOLY/F2fK5AhZfei3LOGRxwKjoDK9sQrto7keYoGS+PAXlZ4c7dIHl X-Received: by 10.180.106.10 with SMTP id gq10mr645836wib.0.1438851381390; Thu, 06 Aug 2015 01:56:21 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.242.131 with SMTP id wq3ls250013lac.106.gmail; Thu, 06 Aug 2015 01:56:21 -0700 (PDT) X-Received: by 10.152.87.72 with SMTP id v8mr542012laz.62.1438851381178; Thu, 06 Aug 2015 01:56:21 -0700 (PDT) Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com. [209.85.217.169]) by mx.google.com with ESMTPS id o10si4199603laj.148.2015.08.06.01.56.20 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Aug 2015 01:56:20 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) client-ip=209.85.217.169; Received: by lbbyj8 with SMTP id yj8so38825653lbb.0 for ; Thu, 06 Aug 2015 01:56:20 -0700 (PDT) X-Received: by 10.152.22.99 with SMTP id c3mr568043laf.32.1438851380746; Thu, 06 Aug 2015 01:56:20 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.7.198 with SMTP id l6csp811259lba; Thu, 6 Aug 2015 01:56:19 -0700 (PDT) X-Received: by 10.70.23.98 with SMTP id l2mr1225457pdf.74.1438851379275; Thu, 06 Aug 2015 01:56:19 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id tb2si10349575pab.75.2015.08.06.01.56.18; Thu, 06 Aug 2015 01:56:19 -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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755214AbbHFI4P (ORCPT + 28 others); Thu, 6 Aug 2015 04:56:15 -0400 Received: from mail-pd0-f174.google.com ([209.85.192.174]:34654 "EHLO mail-pd0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755159AbbHFI4J (ORCPT ); Thu, 6 Aug 2015 04:56:09 -0400 Received: by pdber20 with SMTP id er20so29745281pdb.1 for ; Thu, 06 Aug 2015 01:56:09 -0700 (PDT) X-Received: by 10.70.38.10 with SMTP id c10mr1214531pdk.72.1438851369327; Thu, 06 Aug 2015 01:56:09 -0700 (PDT) Received: from localhost ([122.171.186.190]) by smtp.gmail.com with ESMTPSA id wg1sm5685455pbc.7.2015.08.06.01.56.08 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 06 Aug 2015 01:56:08 -0700 (PDT) From: Viresh Kumar To: ralf@linux-mips.org Cc: linaro-kernel@lists.linaro.org, Thomas Gleixner , Daniel Lezcano , Viresh Kumar , Hongliang Tao , Huacai Chen , linux-kernel@vger.kernel.org (open list), linux-mips@linux-mips.org (open list:MIPS), Michael Opdenacker , Valentin Rothberg Subject: [PATCH] MIPS:loongson64:hpet: Drop the dangling 'set_mode' assignment Date: Thu, 6 Aug 2015 14:25:50 +0530 Message-Id: <45d35e38970b9c7196faa3a6892d2b5e4e6f40aa.1438851213.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.4.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: viresh.kumar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This should have been removed by: 604cbe1de254 ("MIPS: loongson64/timer: Migrate to new 'set-state' interface") commit, but it wasn't. Remove it now. Fixes: 604cbe1de254 ("MIPS: loongson64/timer: Migrate to new 'set-state' interface") Signed-off-by: Viresh Kumar --- Ralf: Not sure how it was left out in my series, but I thought it should have been caught by the compilers as the function hpet_set_mode doesn't exist today. Either merge it with the offending commit or keep it separate. arch/mips/loongson64/loongson-3/hpet.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/mips/loongson64/loongson-3/hpet.c b/arch/mips/loongson64/loongson-3/hpet.c index 950096e8d7cd..bf9f1a77f0e5 100644 --- a/arch/mips/loongson64/loongson-3/hpet.c +++ b/arch/mips/loongson64/loongson-3/hpet.c @@ -228,7 +228,6 @@ void __init setup_hpet_timer(void) cd->name = "hpet"; cd->rating = 320; cd->features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT; - cd->set_mode = hpet_set_mode; cd->set_state_shutdown = hpet_set_state_shutdown; cd->set_state_periodic = hpet_set_state_periodic; cd->set_state_oneshot = hpet_set_state_oneshot;