Message ID | 1556061656-1733-4-git-send-email-john.stultz@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patches@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp4354527jan; Tue, 23 Apr 2019 16:21:05 -0700 (PDT) X-Received: by 2002:a62:1d94:: with SMTP id d142mr29806053pfd.83.1556061665026; Tue, 23 Apr 2019 16:21:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556061665; cv=none; d=google.com; s=arc-20160816; b=rmEoWOyBGT0oTJZhL1z/74s0qwmBYjXdioU20UUYYX8YyL8tM/uvt3iBK2ocKH6Xe+ +Dcw4yY/StU+0rKje1XGBg98/vM4bDr5hpv3o1Vw658+TS1mf5aG+Y6bcQ4RHTLexiq+ gZ90UMQQrM9P9JxZpN2gqOWGZPhEFrjhOrT9Oj4BUKxIx4yZTVUBkkRv7QKTjyO003Ec phO257CPhkHS5woj6Bh8XSkRYW3bsbIZ9r7zV6wSC0rUp0z1tgIudN5EjZiMR7Cffhhs wKxsDshtrGhFEgAE3N9JBtzFjint8d2v4GwpBJOCwz7t/YOtfUf6mEnTkgywVVqBqiyz xPMA== 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; bh=PJpt961AUotkx92U9UhQ+Xu1suFDY3Q+xFz+vrGcjE4=; b=Y2/hKmRU4qLE2HHA5nOm8SXTqUCqClhsjt/Paf+06t/0zLtC56OfL3cpUws+tHoNX7 yfVYI7VJCqtfgr76S8JM/0c6cYxB01eg4k0p6tw9xBkIgGnNYDFkUHodm091l7G897Wx yhAN7Lx6x3W5RY6RgE+f9J5r/y5FkbJidRP/k+OrxFUEy3isDdb84i4bXGDrxvA69Bfk 3kcXKPf6pL918SV1nqVBcoqNbgG41NnLphai4OwmLMgr2VoZyypTl3lHcfdAcvcuQ2MU 3Dv35hleCibz+MfnnBqRYFbWAtI8DpHzLxzyG2Xx2OX+JtayB9/LgAcqpbDM+9zS7+uR d/tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AmWnkmaL; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <john.stultz@linaro.org> Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id y2sor18254779pgp.73.2019.04.23.16.21.04 for <patches@linaro.org> (Google Transport Security); Tue, 23 Apr 2019 16:21:04 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@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=AmWnkmaL; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@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:cc:subject:date:message-id:in-reply-to:references; bh=PJpt961AUotkx92U9UhQ+Xu1suFDY3Q+xFz+vrGcjE4=; b=AmWnkmaLsdXPfYTFhHB5uW5qtrJ6UY93Uhapl8moRr/XyDxKUfPDiduErIL0PZSlXT jZSnCoKEVWH8f7Saj0aer4vXinxRi6YUL5ddDdh9ABXRAXWaUDnRhqI4m23CWENhK4tv ZtrL69sGTtL5esCcVyl1Emz05kbVxAIoAeHY6NDAPZJeFpirI0MTqF2RRmrBYxt6YRRy hsr0wbgZxAudSHehCPOOkKXwvtZyL58jBvvylzmCb962pVnepYpM/QzX4vfxT7+wjpuo SC80FeVylBl4aAQ4+GMHOd+V98/28MyE3Qtxdg6McYZzC8nHucF0ilLQ9w9P5wUYx4pj 8UeQ== 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=PJpt961AUotkx92U9UhQ+Xu1suFDY3Q+xFz+vrGcjE4=; b=S0GFNuqVbv8zl8Znbyjvkwr0x/I41L7x+20qNXB/jztyKusG59HGmo92d8FLb2X2x1 Lq08AgI40+YRx9JLok4FCSNg7qIFG9mGcPRb/W4hrGvCOD52iyDc07FbSXR3zkPvvNrQ SbL2csGMLZqG2x2/m8McVb79BdmRgpYU43T4fHuesLQer1mLaKMbicdG5b5UNmFoq1S/ 2Pg/WnBruA5yjTP7ViINZoF56dj3aNsCOrMhVmMOz8lJYmK0bPT5Efwa+VU5HZtp/ziY RpdACw6GiyjJsIZgOW9BKtlBfRrqmaK3z0Xr0U37ldnrBeaTIRCOZnHjDE2kFT7NHQ44 F+/g== X-Gm-Message-State: APjAAAXaU9C9jwhukYrxOEWRNlT8T+HsWMmU7olcTotUpjjDwfMJRwNK hdm18jnO3UImoCTz+TbCNuBc4DeZ X-Google-Smtp-Source: APXvYqyUlIaK+U1ReA6lItnW8fmKebrGKmYIDisAG1J6wlj/1UzHFWPbBZCESsA8GvKTEPWg6fbcpg== X-Received: by 2002:a65:5202:: with SMTP id o2mr27247072pgp.402.1556061664628; Tue, 23 Apr 2019 16:21:04 -0700 (PDT) Return-Path: <john.stultz@linaro.org> Received: from localhost.localdomain ([2601:1c2:680:1319:4e72:b9ff:fe99:466a]) by smtp.gmail.com with ESMTPSA id c28sm6984235pgm.42.2019.04.23.16.21.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 23 Apr 2019 16:21:03 -0700 (PDT) From: John Stultz <john.stultz@linaro.org> To: lkml <linux-kernel@vger.kernel.org> Cc: John Stultz <john.stultz@linaro.org>, Xinliang Liu <z.liuxinliang@hisilicon.com>, Rongrong Zou <zourongrong@gmail.com>, Xinwei Kong <kong.kongxinwei@hisilicon.com>, Chen Feng <puck.chen@hisilicon.com>, David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>, dri-devel <dri-devel@lists.freedesktop.org> Subject: [PATCH 03/25] drm: kirin: Remove unreachable return Date: Tue, 23 Apr 2019 16:20:34 -0700 Message-Id: <1556061656-1733-4-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1556061656-1733-1-git-send-email-john.stultz@linaro.org> References: <1556061656-1733-1-git-send-email-john.stultz@linaro.org> |
Series |
drm: Kirin driver cleanups to prep for Kirin960 support
|
expand
|
diff --git a/drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c b/drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c index 7cb7c04..c9297d6 100644 --- a/drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c +++ b/drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c @@ -212,8 +212,6 @@ static int kirin_drm_platform_probe(struct platform_device *pdev) of_node_put(remote); return component_master_add_with_match(dev, &kirin_drm_ops, match); - - return 0; } static int kirin_drm_platform_remove(struct platform_device *pdev)
The 'return 0' in kirin_drm_platform_probe() is unreachable code, so remove it. Cc: Xinliang Liu <z.liuxinliang@hisilicon.com> Cc: Rongrong Zou <zourongrong@gmail.com> Cc: Xinwei Kong <kong.kongxinwei@hisilicon.com> Cc: Chen Feng <puck.chen@hisilicon.com> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: dri-devel <dri-devel@lists.freedesktop.org> Suggested by: Xu YiPing <xuyiping@hisilicon.com> Signed-off-by: John Stultz <john.stultz@linaro.org> --- drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c | 2 -- 1 file changed, 2 deletions(-) -- 2.7.4