Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp183848imp; Tue, 19 Feb 2019 21:21:16 -0800 (PST) X-Google-Smtp-Source: AHgI3Ia4VEsjvfkqwP638RQnnsw0Op/bQHtBdkDEWABPFzW9UgtSa0HseZxZ+Vv4RJbEg06oQhVa X-Received: by 2002:a63:df09:: with SMTP id u9mr31159666pgg.299.1550640076169; Tue, 19 Feb 2019 21:21:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550640076; cv=none; d=google.com; s=arc-20160816; b=yzqmKZE7vjoAA3vPIVs1wC3PnHUcdeLBvENfrGaO1XEf7qcC36k1I13cYuxDHJckDx 1NxSq3+kmtcsw9Xmwi7S5jF0Aj2oDLJcOuzanJtOsJjljtADJJSPxPA5RxprNxjiq0BD BxqEVvb0s9txYRLe4k0C1MAMKp10hGhUAqQHcUEGwZFJDpFuYxEt5vSjn6v5Lf4nUaGU Kd+1b2ESehPd8cjMXlNyCoepR7DZjfsCcov5YtD28ZVEEmu1ngoektFNJtUfvoZpe66c 7PFxfo6V+JqVp5NzHdo44PRF/E223nzqsFtZmIm5hdy7mnMdSh84PmiKc0yyoBeyFalf UDUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=xUA0fpNPrsgd3wqYoPcgo7+fQEmuYu8Eq+Elruxjn5o=; b=C62UosArrqQzBtVwRVBftUEA9onGMHH0japVFDlS5i5iLpWQ5RbxN0msSINIdPKbNg wVqrtX2h/L1K7Og9IvhPVegN5X8EAQ376ImR8qKNQDHHwmt2Y77OvzpxvLOxT9JhruF0 e3RgT12Xo7pPSZlxRUqMCyzSCN3gSwQa3X1Uik2qb6AfilpFIYaT6eu25kzSibXg1Jyr tTrnHjVlA0szrI0TpSyVSbzCTdyA7x5NfhLI61V6l3lSdJghiLN771SqFikqkSPZpVYQ aQ4QrFg9VvCB0HLmDBtrvtEUH4xMRSwEZWAhcunobSdWWgiTwi4fSwqFrdH/gF/ljxuz zbMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ThcRlPEO; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s72si13088657pfa.263.2019.02.19.21.21.01; Tue, 19 Feb 2019 21:21:16 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=ThcRlPEO; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730439AbfBTFSr (ORCPT + 99 others); Wed, 20 Feb 2019 00:18:47 -0500 Received: from mail-it1-f195.google.com ([209.85.166.195]:40728 "EHLO mail-it1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726536AbfBTFSK (ORCPT ); Wed, 20 Feb 2019 00:18:10 -0500 Received: by mail-it1-f195.google.com with SMTP id i2so12615465ite.5 for ; Tue, 19 Feb 2019 21:18:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xUA0fpNPrsgd3wqYoPcgo7+fQEmuYu8Eq+Elruxjn5o=; b=ThcRlPEOFZ3ZPFw7+sau+/TtSEu2eXfOfHdRXqLvWPxOIqibig/X3piW1+kAvbqSnn flik26BqPg0m2nwdQbyFniwnG4G/f6gTokTDB5HAHQXz93GBRaSj6o12L2WVr0Lc3nse ql0FdMcDN9a3fbw3NyFmnR824r71R6GGHJ48iVMSiEOJvAKUq/ED1KLyCR5aW6vjIleS p8vS/ngcbGmYPza/csuD62xAlN19OEtPiYw+TlX1uEpCbXEMUjFVUatg6glyZDkzddXD ySLH/v6I4myc9Jv+qky1S/HXu2TheTo7R06qcHQ5xmQQ1bHUxvSnheoILz7ZV0wPPQaK u0ew== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=xUA0fpNPrsgd3wqYoPcgo7+fQEmuYu8Eq+Elruxjn5o=; b=bdzSHcjXtyrR0Zet8KA2XIxQBzWrr/U7bOuLISYFbxZvWcw4noxeIQjWhTsAu56G1D 2pWJgZs+b5AQQ2fL/k4pfnLIHwK2E0/utdqdE8o2VworPsY5/pSYXsj7mKsmNVAB8yFO fnDxE1KFj+N8jrX2gzmfMyQrVuHlxj1CU07iL4tc2zEaxOQJIWEb2pu25s0T65ur3i76 T2ogwFXX/SxahXUKlB23zq+ajAc/scbvKSNAXC7wp1Wtq+4/we87vZloRa69JABmx0Cu MYdBMo5DdRm41jBCi2/Mo1sYgMDTIVKYToi1QD1GVtaccxMkjz/LFCRLfaFRaBseHpJH u4sA== X-Gm-Message-State: AHQUAub9BQRNKOWa1Ef22RzA2Jp2NOhNdclc0Q7j5jCOzTmTrXbhEvPP U62AZQQpz8Vf2cfJfPCidho= X-Received: by 2002:a5d:85c5:: with SMTP id e5mr17584007ios.125.1550639889213; Tue, 19 Feb 2019 21:18:09 -0800 (PST) Received: from localhost.localdomain (c-73-242-244-99.hsd1.nm.comcast.net. [73.242.244.99]) by smtp.gmail.com with ESMTPSA id k64sm2297550itb.7.2019.02.19.21.18.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Feb 2019 21:18:08 -0800 (PST) From: George Hilliard To: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org, Neil Brown , George Hilliard Subject: [PATCH 03/10] staging: mt7621-mmc: Remove references to nonexistent mt7621_spi_ops Date: Tue, 19 Feb 2019 22:17:47 -0700 Message-Id: <20190220051754.12195-4-thirtythreeforty@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190220051754.12195-1-thirtythreeforty@gmail.com> References: <20190220051754.12195-1-thirtythreeforty@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This struct does not exist, and when it is looked up in the compatibility tree, it returns null. Remove these nonfunctional lines. Signed-off-by: George Hilliard --- drivers/staging/mt7621-spi/spi-mt7621.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c b/drivers/staging/mt7621-spi/spi-mt7621.c index b509f9fe3346..d260b42ff328 100644 --- a/drivers/staging/mt7621-spi/spi-mt7621.c +++ b/drivers/staging/mt7621-spi/spi-mt7621.c @@ -58,8 +58,6 @@ struct mt7621_spi { unsigned int speed; struct clk *clk; int pending_write; - - struct mt7621_spi_ops *ops; }; static inline struct mt7621_spi *spidev_to_mt7621_spi(struct spi_device *spi) @@ -330,13 +328,11 @@ static int mt7621_spi_probe(struct platform_device *pdev) struct resource *r; int status = 0; struct clk *clk; - struct mt7621_spi_ops *ops; int ret; match = of_match_device(mt7621_spi_match, &pdev->dev); if (!match) return -EINVAL; - ops = (struct mt7621_spi_ops *)match->data; r = platform_get_resource(pdev, IORESOURCE_MEM, 0); base = devm_ioremap_resource(&pdev->dev, r); @@ -375,7 +371,6 @@ static int mt7621_spi_probe(struct platform_device *pdev) rs->clk = clk; rs->master = master; rs->sys_freq = clk_get_rate(rs->clk); - rs->ops = ops; rs->pending_write = 0; dev_info(&pdev->dev, "sys_freq: %u\n", rs->sys_freq); -- 2.20.1