From patchwork Tue Jul 24 23:56:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 10543341 X-Patchwork-Delegate: eduardo.valentin@ti.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 99833112E for ; Tue, 24 Jul 2018 23:56:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8885329769 for ; Tue, 24 Jul 2018 23:56:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7BE9A297F1; Tue, 24 Jul 2018 23:56:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1FA4129769 for ; Tue, 24 Jul 2018 23:56:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388447AbeGYBFn (ORCPT ); Tue, 24 Jul 2018 21:05:43 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:46251 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388408AbeGYBFn (ORCPT ); Tue, 24 Jul 2018 21:05:43 -0400 Received: by mail-pl0-f66.google.com with SMTP id t17-v6so2441070ply.13 for ; Tue, 24 Jul 2018 16:56:48 -0700 (PDT) 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=yUQ6ZBSSjkTy86/Cz5L8DDuSY21Psh4pSHnGi5L6q84=; b=plzs7gNLfEyLP5XSkqucofZR+1BMgmXmurCIHL5dHANoScUM+fXhC57OrsFwauaV0j psVAEC0FTC1h1dRk1Ova4Y9Y+TH2V1Ixh4k2T/L/g009aq0sQjdPZnqu7xqz1TnM8EX6 AR/iqzD8m94/VciwRLhoTGaquw9RkEsVYWN4rS8DqGjog9LPhO79qmKvPt/v0sJoHJEn Hz65vkLgxgZ2v91ubh0Mwv/wfks+7DpYUE2k9An/sWoVw6XVJFe+K/rMuS2exn78OkyP CeI7VM+gHpy30Yo1MuA8Wq6dPoaKQlzy8cxnRGsUe42xDj++IdvTo5etXrnqsbKrUoWj r7ug== X-Gm-Message-State: AOUpUlE1fxzPN7NpK8cIkEJKG10i+dNJ+JcGAVN8xbQuX+6lBMIodK39 /4Qc638MjOFRWQGddQPL9kyWBA== X-Google-Smtp-Source: AAOMgpcx/wuMd+7LY4OaKkQuyoMfu/QXYH34tpSkmsvRLdqmzig+S2gWDfplih3UHhkmIGwgxE5kdg== X-Received: by 2002:a17:902:184:: with SMTP id b4-v6mr19070231plb.340.1532476607636; Tue, 24 Jul 2018 16:56:47 -0700 (PDT) Received: from mka.mtv.corp.google.com ([2620:0:1000:1501:8e2d:4727:1211:622]) by smtp.gmail.com with ESMTPSA id f67-v6sm21817559pfe.75.2018.07.24.16.56.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Jul 2018 16:56:47 -0700 (PDT) From: Matthias Kaehlcke To: Zhang Rui , Eduardo Valentin Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Douglas Anderson , Matthias Kaehlcke Subject: [PATCH] thermal: qcom-spmi: Delete unused field 'prev_stage' Date: Tue, 24 Jul 2018 16:56:36 -0700 Message-Id: <20180724235636.60357-1-mka@chromium.org> X-Mailer: git-send-email 2.18.0.233.g985f88cf7e-goog Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The field 'prev_stage' in struct qpnp_tm_chip is not used, remove it. Signed-off-by: Matthias Kaehlcke Reviewed-by: Douglas Anderson --- drivers/thermal/qcom-spmi-temp-alarm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/thermal/qcom-spmi-temp-alarm.c b/drivers/thermal/qcom-spmi-temp-alarm.c index ad4f3a8d6560..964d35e32027 100644 --- a/drivers/thermal/qcom-spmi-temp-alarm.c +++ b/drivers/thermal/qcom-spmi-temp-alarm.c @@ -67,7 +67,6 @@ struct qpnp_tm_chip { long temp; unsigned int thresh; unsigned int stage; - unsigned int prev_stage; unsigned int base; struct iio_channel *adc; };