Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp945060pxk; Thu, 3 Sep 2020 17:35:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0uFAbSnWzCe50ZKspxpaCjZB3/dsnRWlPxSKbvU+z4zAUecx1cu/loQNq5g/ClFP1Dxec X-Received: by 2002:a17:906:455:: with SMTP id e21mr5140088eja.170.1599179743360; Thu, 03 Sep 2020 17:35:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599179743; cv=none; d=google.com; s=arc-20160816; b=kJr3P46mOVfKkKx5gwc5UvPPEsbq6iR6U8UC7qE2lV9BlT+GLf3JZ6CAwsl9G8K8qC TqRnlfuuOAyZJLa8aw4tq2feoOrvNkPndPpW/i5eI8ECgI9vQNOvoEEwUiQafwVoSHBt 2p0wMIcQHr2RCIqt4NtpLNGaDxDYeG6j6qcw60ferxCnYNQGumSXFL+a4WRqAdI+Ghlx SA/ztofd2rWgibpAw0Z4K5p7V1SELjMghp09nI59lvnTBMd2BV/lXPgJsY8+4pgr6qff EhNAQ7js2IEWCADhaLI2HnMvQ4zheYSnG7d4oUtv7VMQijZoMZmeIjXSg5yUQyeruEy9 gqaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from:dkim-signature; bh=IAJoEh+6AzC+pKTWp/bOcEFzbdoQ52Nyw5yIscBfr1w=; b=sjfWSN0UJr1nww+k2tAyH+v3vnTtplbr/9dt6PF1c3kV8Fkb2dAHtkdDcg8U/A9tzJ YA1vB3qtOONW3AJB2QapsAC1Ih86y0/MGUlc1/bASvRuBPrK4mADYz7u+cu0ZDtyuPP6 9yyGBkxO+tsmGduiOU88wNRLch1p81KAiM0XYC/74tjQRMjr27doZCy3zZUQWIYbbojz Q2G9VwJLj9VQ9btZeCE889WyEQza2ljs1jKVYWD2Pn2e/D/NQjM17jj1puADzraZQLu5 en2x6004fgVxwRml+D5ebQIni4dX8Bl3U5/tt3U1VCE267+Gih7DfY1AcIG0yjcrIllu Sr1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=cMCzrfCU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u23si2802218edt.577.2020.09.03.17.35.20; Thu, 03 Sep 2020 17:35:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=cMCzrfCU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728657AbgIDAeg (ORCPT + 99 others); Thu, 3 Sep 2020 20:34:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726397AbgIDAed (ORCPT ); Thu, 3 Sep 2020 20:34:33 -0400 Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EDABC061244 for ; Thu, 3 Sep 2020 17:34:33 -0700 (PDT) Received: by mail-pg1-x541.google.com with SMTP id g29so3431670pgl.2 for ; Thu, 03 Sep 2020 17:34:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IAJoEh+6AzC+pKTWp/bOcEFzbdoQ52Nyw5yIscBfr1w=; b=cMCzrfCUtqRc1nmYxs2wvQHa172v0v+L5ucazx+Eh+kn/j4HMo1nlDNN+LmF5s/V90 /K3aUdV9IuwY3khbOtHSqEd6AZsZ7rUQZgxfSFDCUVry1aU0ScVy+qDKEHIsDDznw50a /YRhAYGl4p4pEfwO38kik1Pqw4rt0eAWPF5otnIpAntDpaYJZfJpjD624bXGqFKILfSF q/KXzddAvo3eys0xyW46uBduglw0h0+XCFBOlhx7B4JTjRLi+cLWK9fkuECZMd4pXYpc UZLcu5iqesbONCFhep9whhQtarYSIoRVbV111xpKL75HfzDgJ+rTE8/7A91uqmZqCpjk uilA== 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:mime-version :content-transfer-encoding; bh=IAJoEh+6AzC+pKTWp/bOcEFzbdoQ52Nyw5yIscBfr1w=; b=m3VfKWITMPnYRd4GTvdcrlC1uWYfqGCji28/MzrJ4/qk+ThUFfD32pACtiKRJqR+ey OusKtWCLA6Mw+yTauWWvV1n8cWTCr6sTQgWhlKV1UTy2pc55iAET+PBLyLS1coJTHEJB JIhsEQZRNTpikM89ekWVR/XJy6nXOrpowSb/QBKDxRn51lqOBmbjYb4Zls76pL1IXf5v Wt73nLbL7tVKsW+sad9aBuuAwNm3s1Q6TOjbXykLy+m9ahBGdvbkAC90jFVpi+K9A+TE dIVOYjs6+XWVhhtNN6RQuK9IVi4MGVBS6sTUNmtcDA9WftH7tNC5Gti3lL455Le6ZpBm Ui8A== X-Gm-Message-State: AOAM531sNgf58lMIgaTt38GXam68eRZnGRGP0U/icacxh70K/I1P+rtE yXbQ8QnvPxTL/5yvY+0Fh3M= X-Received: by 2002:a63:ba18:: with SMTP id k24mr5215503pgf.335.1599179672743; Thu, 03 Sep 2020 17:34:32 -0700 (PDT) Received: from localhost.localdomain ([49.207.195.77]) by smtp.gmail.com with ESMTPSA id n68sm4412817pfn.145.2020.09.03.17.34.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Sep 2020 17:34:31 -0700 (PDT) From: Anant Thazhemadam Cc: Anant Thazhemadam , Ian Abbott , H Hartley Sweeten , Greg Kroah-Hartman , "Alexander A. Klimov" , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH] Remove unused variables Date: Fri, 4 Sep 2020 06:04:06 +0530 Message-Id: <20200904003408.452999-1-anant.thazhemadam@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A few unused variables that were defined were found and removed. Signed-off-by: Anant Thazhemadam --- drivers/staging/comedi/drivers/dt2814.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/comedi/drivers/dt2814.c b/drivers/staging/comedi/drivers/dt2814.c index bcf4d5444faf..1a36d8612d9f 100644 --- a/drivers/staging/comedi/drivers/dt2814.c +++ b/drivers/staging/comedi/drivers/dt2814.c @@ -190,7 +190,6 @@ static irqreturn_t dt2814_interrupt(int irq, void *d) struct comedi_device *dev = d; struct dt2814_private *devpriv = dev->private; struct comedi_subdevice *s = dev->read_subdev; - int data; if (!dev->attached) { dev_err(dev->class_dev, "spurious interrupt\n"); @@ -229,7 +228,6 @@ static int dt2814_attach(struct comedi_device *dev, struct comedi_devconfig *it) struct dt2814_private *devpriv; struct comedi_subdevice *s; int ret; - int i; ret = comedi_request_region(dev, it->options[0], 0x2); if (ret) -- 2.25.1