Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp183300imp; Tue, 19 Feb 2019 21:20:25 -0800 (PST) X-Google-Smtp-Source: AHgI3IbDxGq8S165zER6NpPjkkh2ja0raYH+zMrbIyKh9DT1qT7yirqNjlRZZP6YU74q51NBZRX3 X-Received: by 2002:a63:d34a:: with SMTP id u10mr27935791pgi.301.1550640025650; Tue, 19 Feb 2019 21:20:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550640025; cv=none; d=google.com; s=arc-20160816; b=K+PQoQlzU4bjrbT9NYOh9Q+VlJqjbzzXgM2c8ocYHqFXzUiVKROWYG7q0kPuP1EKpR BNUWcYCgX4bZ7rGtokUXxb5cCxA7pq7Jigd8NLgm2dk5HMxYLPSrueUvqjmK+hVeAZZ3 csHEdOXY6mceXbDjIUvwS74DMfYJvMLGxhVgcziqEOKMsNqzFGy5AalIKr/hL9Z3taSM VAdA4tddgAKnnV+SMTdo16ZgNSpDCTx4KqLbxou0Cyi2PjZQ7LSwHoS+aWK2ikF/48ts inFokL5b/5p2KgI+a5XTw1zxTrlj4+rebC4BWE3WB0SJcpeQid4foYoOB/nqKPrUS3+O FzAg== 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=5ciqk+uqFKrZqpMKGAg0DrYJPsR1EGm9FFygAIm8kVM=; b=khEqLmpNCNc1sIadyLSFsGFppJGykGOCLR5hJKYTAElPELZPL5Vwbu9nz+aiVs/KXv Jkn+umIMEKyYeodfk5+250DU6xaMz0+bHEalFgDAlEpsuxEuczTN4dwvr78mopThZ1a2 X1H+EA+5kqhdCpnzQKRxCCxHMc+XTj8OOkkCW6aNK6kmmPj+eJ7m397r11uoxUsAT3bn FNv7LQW+omjUhIvFVzfHc5BCNv3tOnodOfy8jPikvv2XNwZjAGf27yILnDJI9+J4a1YT Gl/D2JGYglrOmjN64/A9BItj3eKyZhLz9BahrdjFtCA7U7ELWKH65Byv16mfMo81FAQk QglQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XlFf6Q6k; 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 y35si13696602pgl.569.2019.02.19.21.20.11; Tue, 19 Feb 2019 21:20:25 -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=XlFf6Q6k; 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 S1727252AbfBTFSW (ORCPT + 99 others); Wed, 20 Feb 2019 00:18:22 -0500 Received: from mail-it1-f195.google.com ([209.85.166.195]:51858 "EHLO mail-it1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726771AbfBTFSR (ORCPT ); Wed, 20 Feb 2019 00:18:17 -0500 Received: by mail-it1-f195.google.com with SMTP id y184so12455870itc.1 for ; Tue, 19 Feb 2019 21:18:16 -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=5ciqk+uqFKrZqpMKGAg0DrYJPsR1EGm9FFygAIm8kVM=; b=XlFf6Q6kjzhVOBbxdhhjDTI+WyLMOP276wWY4epiLHVfTlMUpvT3tgzzK+8LgQ9nG3 ld/pnfsNvHe47WqMhGVxWQdaJBUmPF3JW+/4WjXfQb127uQm2NSx3KLvt9U9FgNJADPk +HHSu0GWhCbehK6KE6O4tJOMwIB9VbSGU/qeTEVEkYQMRYGiO3JC8QMDBIA6tEFxN1e1 lcfZ8qXpNbxEVcEiQEf/TcS3YS0lglTDTeyB/RtjF8lO7IlwyU5UNYYK+KzN36MTa+Ha BrGLtTNDXVEbtAG+7QfZXGFHzyzo4tC2f0zec3dDAptXlGKgHNIrgP3mGDuARRHGF7e4 uSdA== 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=5ciqk+uqFKrZqpMKGAg0DrYJPsR1EGm9FFygAIm8kVM=; b=Mom4L2JRviIO9hQ8vo8wWho5yn8tDWGtqKz4rl9ED8OkiRyTxb1Yz9TOjtIaxc3/Yb pJsSH/eKgrGuQ7bmiaF+rpap9OsyKTKjgb74ZYBaOxff/5U0We01Z86BPrz0+tOhCeT2 zGRg2evIC9J0WIVRwOXXRwKD2CYjG5j9rerhuhga5WrQSv8TRc1YTV6eA6XTN/enQfFy i2exUyo0G67X6CiuefpZtPyemLri+GK8OY1tXo1xSt20d4oNJmFF8nzyV2wkFCUqrDrm zo6pqm8CU/i/9sG2ROTxlW+dw+Em2qQuCvTZsn85g5lVgFrIrUOrYiTVU4F3tdGPGQ0E Labg== X-Gm-Message-State: AHQUAuY8ouwM/hu++MCycmPbbjFxb5eGmHeP4O/RDvtBrGUhMY7zm/+l CMnnvp3nbtXZfnZr+oUxLj36LEfwnc0= X-Received: by 2002:a02:4fc1:: with SMTP id r62mr17814026jad.55.1550639896070; Tue, 19 Feb 2019 21:18:16 -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.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Feb 2019 21:18:15 -0800 (PST) From: George Hilliard To: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org, Neil Brown , George Hilliard Subject: [PATCH 09/10] staging: mt7621-mmc: Remove redundant host->mmc->f_max write Date: Tue, 19 Feb 2019 22:17:53 -0700 Message-Id: <20190220051754.12195-10-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 is set once during initialization and never changed. Don't bother setting it again in the interrupt handler. Signed-off-by: George Hilliard --- drivers/staging/mt7621-mmc/sd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/mt7621-mmc/sd.c b/drivers/staging/mt7621-mmc/sd.c index 736e1d23b391..472318a979cb 100644 --- a/drivers/staging/mt7621-mmc/sd.c +++ b/drivers/staging/mt7621-mmc/sd.c @@ -210,7 +210,6 @@ static void msdc_tasklet_card(struct work_struct *work) host->card_inserted = inserted; if (!host->suspend) { - host->mmc->f_max = HOST_MAX_MCLK; mmc_detect_change(host->mmc, msecs_to_jiffies(20)); } -- 2.20.1