Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp996533imu; Fri, 11 Jan 2019 12:58:49 -0800 (PST) X-Google-Smtp-Source: ALg8bN41GEPf3peeEkm9/clO2GTHayoxqO/0WSuKE7M4SOwb95p9p72KG00cGohUeOI+PrzpBgmw X-Received: by 2002:a17:902:7443:: with SMTP id e3mr16161681plt.304.1547240329913; Fri, 11 Jan 2019 12:58:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547240329; cv=none; d=google.com; s=arc-20160816; b=V0GJkuErq4eHvjKNsmwqq4Ygz9BFLs1sfTMTpTVnYKIBA2U14ve3TfzQoTgOG9JqV5 41kk6BQVHh4czieYSKH1IB3DCaFrHeY0s4oe/CdEJ0zr5C5k4cLdCVuo6eHMOiNVtZ/o RuVo087FqAPvR/drGxtCpMnprPPgbNU4jjsli5Y8shClcRH50JHUhn7CaeRDtrUkRUUu 0yAeQI4gMDP30Ozu+bI5RonAYzMUbOjfZlhSCNoqm11TYmIC1MUip2lJvtZRqV1FqlcY siaEeCDtPLfTSQQBkE8/+1XJvcBZhBGf9WXnP+5dZbGKnQ5z8pcxnPyihAYPSVAuwpac smOg== 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=lobGBbOQutWmgYVSxRfepXKumbyagYUcXFaOn08s+2c=; b=Ae2WE+Y6QBpxVJDPRMxYTANYFQkNYR7wxSLAAAPWP6CQydYmmOZM6uim1ON7nmf2Ub f0rVr1TNBnfivfSdfDb7X00izdPun5xRaMX/KvhjRKLGm0bj6zGSM9wuu6XDpiQek/WJ QpqcpSVhkBYI4lwG8ZkkZyyFotgV56+lop3whYb0WvgkGOJJFX6LHM94YSCwd9F5Slnx nbJE+0AbpZta4du9aH1uBhtnMazY9XHz9VGqZ0AsrPMDjTcluvE4ErkIN5HcU+a61z4Z HQu4v3d5L5DucAROewHPMnpOMu1YdJ0lBRyQ3cym2gOvN8D2NlKOjCrMjXEfOKCrdwcM Ogng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Fl+phRj0; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c12si20647021pgb.402.2019.01.11.12.58.34; Fri, 11 Jan 2019 12:58:49 -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=@ti.com header.s=ti-com-17Q1 header.b=Fl+phRj0; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733065AbfAKSFg (ORCPT + 99 others); Fri, 11 Jan 2019 13:05:36 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:41836 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732941AbfAKSFf (ORCPT ); Fri, 11 Jan 2019 13:05:35 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x0BI5SJj058853; Fri, 11 Jan 2019 12:05:28 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1547229928; bh=lobGBbOQutWmgYVSxRfepXKumbyagYUcXFaOn08s+2c=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Fl+phRj0+M8rOyerH1axc/qIo4ZCMHo/4zWc5tZzZJ0nR01UCFuxuevxJ3pDZom4D mQ86Z5sWzXyl1oDKU/1vTOOtM4Rrhe9/ih9114FHRqddO9io1M8EuyemmSPb24EDrV VujasGk1ks7vsSvyf9qtPwaXTy9IibXHxuR/KUhk= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x0BI5She116666 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 11 Jan 2019 12:05:28 -0600 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Fri, 11 Jan 2019 12:05:28 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Fri, 11 Jan 2019 12:05:28 -0600 Received: from legion.dal.desgin.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id x0BI5ReW006399; Fri, 11 Jan 2019 12:05:28 -0600 Received: from localhost (uda0226330.dhcp.ti.com [172.22.109.196]) by legion.dal.desgin.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id x0BI5RU07722; Fri, 11 Jan 2019 12:05:27 -0600 (CST) From: "Andrew F. Davis" To: Laura Abbott , Sumit Semwal , Greg Kroah-Hartman , =?UTF-8?q?Arve=20Hj=C3=B8nnev=C3=A5g?= CC: , , , "Andrew F . Davis" Subject: [PATCH 04/14] staging: android: ion: Remove leftover comment Date: Fri, 11 Jan 2019 12:05:13 -0600 Message-ID: <20190111180523.27862-5-afd@ti.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190111180523.27862-1-afd@ti.com> References: <20190111180523.27862-1-afd@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since we use CMA APIs directly there is no device nor private heaps data, drop this comment. Fixes: 204f672255c2 ("staging: android: ion: Use CMA APIs directly") Signed-off-by: Andrew F. Davis --- drivers/staging/android/ion/ion_cma_heap.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/staging/android/ion/ion_cma_heap.c b/drivers/staging/android/ion/ion_cma_heap.c index 7b557dd5e78b..bf65e67ef9d8 100644 --- a/drivers/staging/android/ion/ion_cma_heap.c +++ b/drivers/staging/android/ion/ion_cma_heap.c @@ -111,10 +111,6 @@ static struct ion_heap *__ion_cma_heap_create(struct cma *cma) return ERR_PTR(-ENOMEM); cma_heap->heap.ops = &ion_cma_ops; - /* - * get device from private heaps data, later it will be - * used to make the link with reserved CMA memory - */ cma_heap->cma = cma; cma_heap->heap.type = ION_HEAP_TYPE_DMA; return &cma_heap->heap; -- 2.19.1