From patchwork Mon Nov 4 11:16:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 178390 Delivered-To: patches@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp1333360ilf; Mon, 4 Nov 2019 03:16:39 -0800 (PST) X-Received: by 2002:a2e:9194:: with SMTP id f20mr7038171ljg.154.1572866199199; Mon, 04 Nov 2019 03:16:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572866199; cv=none; d=google.com; s=arc-20160816; b=jg6yYivVHXegweo/ytNBu/k6rDdx614o7OOBuArHDHdGK3Q8PuvQIWGsly52jP8NHR xIzqjJ+tL7GPqa/tP+fhUT+yhmtw6weTRagX1S6/m9uSf0vOGlyk4N1t99ptJgbXSBjE h1hE8ilQ3TJCZ4Haxusfjaj/x8dsNLvXwBoqHmM7brP+y6s2zPbPnksxnMeTqQKnlaRw /3mD7aY2olaKAN6zE0+gyEYBaQQvpNTvxex7i73cRL38278PFGecpsOu8llYTJKZv/Rz EXvF9Oj6bxijiMRSxvagv8vROcOaxikewTFSDaU+t4DRO1Aign615MDvnfp/moE10A9U jGyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:to:from:dkim-signature; bh=EeTFOOYKrSClkOwik36tTLvKJAVQNTgceAjoI/9c9oY=; b=wfA3N4zqMBpDl11Of9+o13EtrFT9Z8WR0XkLEN08TePNvbyvDsfsohlhHZAlE5o8kP /SuaIvBTenZiloeX1HGqT9uhKQK1N2PVEhskUR4Lt81rb0lbYxZ66+M6gKvNYat+7mUp LLyojwA7MPN97jwuy7vLRR8PI993pbMz936Qt1wXAN10/6+IIcPwQLyx/QrGoc3OzTz1 2ZrYHygrHJJONxGcQQxXK9Cv2/1p0awDPHltMpkCc7uLF+t0wYysFXrYTTIr/vQSrtmM hVDAHBbFutSbaYs1Op2lv19mbqZgyh4fSUp3nIdpfR71n/SzDa3TJKKR+jPDmlOE2Gx1 taXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SZDb18lK; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id d12sor10202534ljj.30.2019.11.04.03.16.38 for (Google Transport Security); Mon, 04 Nov 2019 03:16:38 -0800 (PST) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SZDb18lK; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id; bh=EeTFOOYKrSClkOwik36tTLvKJAVQNTgceAjoI/9c9oY=; b=SZDb18lKPJI6fBj4upNX9diNR6/sW+AGGRX/n/E/cQpqxOdORJbMEM3ZBKxf2BIomv si6atCFY/bZ4W3bslIgfLm3VzT0wj4EAcdHP339LHGns+AWsZsuFzRQyRvy1z9piSOB1 bH2iZXXerLCB/91t1nIdO5Z6otAo2xd64qKMrXewu+Z71JMjQ/iP+/uqjgsNPhtYmz/t PUknveHsBy5J9pRbbC7CXYwAqeEr0a5huVXdzQK14H/dDbJxn//aC1d0+D1ThTtfTcIS TZe/r0QMCxqIKB0XFQ8NBVTLapHkQFrgrjHFgz/MLlC0sJF4awp9nlpY7NWCl5+bGmFT Jszg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=EeTFOOYKrSClkOwik36tTLvKJAVQNTgceAjoI/9c9oY=; b=QM2/sA5n8t5AcT8mCHVb1gNKWAKM/WkyQ4JJLBBJT92aTGiwnZaxsZo7smyJj3gpny JE/uRmhBWko+CPflHxN7Rx+N+fjipNMQoBjLw3apu0dwa0yrQbJriRXJEGsNYPLx0zAp 9K2o4XKjT31oNDTOgOBOPsYE2j0GQ+kJDb5J91umUzy7C50MkU0mCTvJFRIKNhBA/fpl n+yTYRIvIOcas5PqSMVyvO9yYC7Vwt2rWT2vbUxCbw4zVMH30pz0UzzS7r6eydBsehwI QToCEn6q01SGTB85WP/yYuR1td+8wNKBgScwnHVGkX0swdz/14/lqkmU7Xaat+A9Fa2S KsNg== X-Gm-Message-State: APjAAAXjcbGknRSS7AjNlidikZnOWmjhQFspIkmEkyrYye2sBwNq7CmF ISG8K8n1lv0r+2TrWuWZuSUFdQq8 X-Google-Smtp-Source: APXvYqzaDs6ZVMi6zFpR/sN5Xw0857V58+YTvxR+N6fs0cG4i+ptEjKi+Nh2goa/J1SYAirf1dEMcg== X-Received: by 2002:a2e:8204:: with SMTP id w4mr18690634ljg.212.1572866198567; Mon, 04 Nov 2019 03:16:38 -0800 (PST) Return-Path: Received: from localhost.localdomain (h-158-174-22-210.NA.cust.bahnhof.se. [158.174.22.210]) by smtp.gmail.com with ESMTPSA id d27sm8099348lfb.3.2019.11.04.03.16.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Nov 2019 03:16:37 -0800 (PST) From: Ulf Hansson To: linux-mmc@vger.kernel.org, Ulf Hansson , Tony Olech Subject: [PATCH] mmc: vub300: Drop redundant host ops ->init_card() Date: Mon, 4 Nov 2019 12:16:32 +0100 Message-Id: <20191104111632.31354-1-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.17.1 The ->init_card() host ops is printing message to the log, without actually doing something useful. Let's just drop this code. Signed-off-by: Ulf Hansson --- drivers/mmc/host/vub300.c | 7 ------- 1 file changed, 7 deletions(-) -- 2.17.1 diff --git a/drivers/mmc/host/vub300.c b/drivers/mmc/host/vub300.c index a3680c900689..6ced1b7f642f 100644 --- a/drivers/mmc/host/vub300.c +++ b/drivers/mmc/host/vub300.c @@ -2070,18 +2070,11 @@ static void vub300_enable_sdio_irq(struct mmc_host *mmc, int enable) kref_put(&vub300->kref, vub300_delete); } -static void vub300_init_card(struct mmc_host *mmc, struct mmc_card *card) -{ /* NOT irq */ - struct vub300_mmc_host *vub300 = mmc_priv(mmc); - dev_info(&vub300->udev->dev, "NO host QUIRKS for this card\n"); -} - static const struct mmc_host_ops vub300_mmc_ops = { .request = vub300_mmc_request, .set_ios = vub300_mmc_set_ios, .get_ro = vub300_mmc_get_ro, .enable_sdio_irq = vub300_enable_sdio_irq, - .init_card = vub300_init_card, }; static int vub300_probe(struct usb_interface *interface,