From patchwork Tue Jul 25 19:56:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 108681 Delivered-To: patches@linaro.org Received: by 10.182.45.195 with SMTP id p3csp2831obm; Tue, 25 Jul 2017 12:56:46 -0700 (PDT) X-Received: by 10.99.137.194 with SMTP id v185mr21088477pgd.279.1501012606884; Tue, 25 Jul 2017 12:56:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501012606; cv=none; d=google.com; s=arc-20160816; b=okN6ObaEizhJh0YOAyeTYWlAHhC9M20bTF626or2zirYgcKm5bxGKpIznBM4Ml1YMS IzbhdnnPVj6VB4GnghfBVsEhJshtFjHi6/8qFiX1bWTw3Dt4iSs3BdGTOLgaSpmtO1D/ YHOBhouN1nD224QV5PVQ0pxqRb8gSv1/UEdr1P5sn8kMdTdRuVfBGl6HCbSy6E14WVt+ sUzajWOitE60wMARrXjVkt8bAinXFY6NYvx5CNGEF4Ex3EdBUr3d/VZbf8aax9OZOWON cvTZirDAn5QPrGW46XSl/XoIe9iKDYJa2DsmoVm7acYy+xWd5U4LhfkOaFgIUIH78wdW X/0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=RxmBlykjr3AJ+NC0NYDqus2gs1leKxygsrtZX5Gpb7E=; b=MJBBL0aKkqTRoFzLLa6zgcEwhdboFFcfu0QMxoOpMy/vNyS8qKXQ0CQfM2PYkam1xx lWE0WeTigYrEP94Al514o46jK1V6Aafo4g+EJdJSwX/LfZJn9ZHcqO87AKeC/M0IJK4R dQxVkCbHGxnwp9IW81tOQWuw3LplxVULLUjvMhGHB4t0jfRoysIScN2Ack0qXwTyOjqC BFPLJyKlkfud+dIrUaqIWoobZyuHkn4HEBmOVRSjJnLY8aXVovIdpherWMeUeV/nlgh7 rOJhUftaJvkr7LKBAzNGdlo42+/PkNSQUyUJFS+xYNHxMmqjKi3e6RZK1qUoSarGUlYx G9GA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.b=i/TbRdIn; spf=pass (google.com: domain of john.stultz@linaro.org designates 2607:f8b0:400e:c05::22c as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-pg0-x22c.google.com (mail-pg0-x22c.google.com. [2607:f8b0:400e:c05::22c]) by mx.google.com with ESMTPS id h9si8474332pfc.486.2017.07.25.12.56.46 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Jul 2017 12:56:46 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 2607:f8b0:400e:c05::22c as permitted sender) client-ip=2607:f8b0:400e:c05::22c; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.b=i/TbRdIn; spf=pass (google.com: domain of john.stultz@linaro.org designates 2607:f8b0:400e:c05::22c as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by mail-pg0-x22c.google.com with SMTP id 125so74367736pgi.3 for ; Tue, 25 Jul 2017 12:56:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=RxmBlykjr3AJ+NC0NYDqus2gs1leKxygsrtZX5Gpb7E=; b=i/TbRdInzjVlQvhhFtjSOesUmahkYieWrubX168ekiWT5gjOTXSz1e/qWFuKN8jMHB /ZIOFLWM1E93lzMjIeIbEvoZ5KDBSthYm/IgxCFQ/czESVEl2veWt/htJVjFj44G6UmU LBjgex3fqLUi9AASQcPk+OomOJjZ5tia2lNRo= 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; bh=RxmBlykjr3AJ+NC0NYDqus2gs1leKxygsrtZX5Gpb7E=; b=P1S/FC8lD9zVBDYybZ/Og8seTqg8zPYrQz5PcRtViAIdZ/utbtEKIkHy6Rb65aiDFA EJpzTCgnRDmPUbnh2TxitKSTW9qHRdAP4va8aI28tcuRKBPSohwry1cDP8NsMg3RQMF3 5GhgdwKiUuUkBk0NVgNtA3XuAhXDv8kXOWN+53Zt146q/CL7rowUVqmaFlN7ytK1IYHi zO6chu4Axt6ZBhlQ3tcyZrsVeR49QkuFUOFNVEDEd1PiPfrh4B4D20ajIwohLoPdpWjD HZU4ps+CbOMENOqitqic6RoqLMzVZKPW+oTcah+rVCEmyfVYF4U7tGMhyYmTxDXyAVYs Jwdw== X-Gm-Message-State: AIVw111B7y1/fqFDPDMEqeZiM0cXZnR9bZY3gnu+qpNpNzdYDHVufHKW w+UlX+8ejiCHuw1doH8= X-Received: by 10.98.131.131 with SMTP id h125mr20195276pfe.271.1501012606622; Tue, 25 Jul 2017 12:56:46 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([2601:1c2:1002:83f0:4e72:b9ff:fe99:466a]) by smtp.gmail.com with ESMTPSA id x14sm28827951pfe.83.2017.07.25.12.56.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 25 Jul 2017 12:56:45 -0700 (PDT) From: John Stultz To: Guodong Xu Cc: John Stultz Subject: [PATCH 6/6] drm: kirin960: Cleanup unused functions Date: Tue, 25 Jul 2017 12:56:35 -0700 Message-Id: <1501012595-14434-6-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1501012595-14434-1-git-send-email-john.stultz@linaro.org> References: <1501012595-14434-1-git-send-email-john.stultz@linaro.org> Cleanup unused functions. Signed-off-by: John Stultz --- drivers/gpu/drm/hisilicon/kirin960/kirin_drm_dss.c | 13 ------------- 1 file changed, 13 deletions(-) -- 2.7.4 diff --git a/drivers/gpu/drm/hisilicon/kirin960/kirin_drm_dss.c b/drivers/gpu/drm/hisilicon/kirin960/kirin_drm_dss.c index ff81583e..e99a172 100644 --- a/drivers/gpu/drm/hisilicon/kirin960/kirin_drm_dss.c +++ b/drivers/gpu/drm/hisilicon/kirin960/kirin_drm_dss.c @@ -379,19 +379,6 @@ static int dss_crtc_init(struct drm_device *dev, struct drm_crtc *crtc, return 0; } -static int dss_plane_prepare_fb(struct drm_plane *plane, - const struct drm_plane_state *new_state) -{ - /* do nothing */ - return 0; -} - -static void dss_plane_cleanup_fb(struct drm_plane *plane, - const struct drm_plane_state *old_state) -{ - /* do nothing */ -} - static int dss_plane_atomic_check(struct drm_plane *plane, struct drm_plane_state *state) {