Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp769423pxj; Thu, 3 Jun 2021 20:09:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMF5TEndc7B83RsFKMqZiKrb7KrXnd6MWEa0C/v6Tyk3tPUZXEz8LDv8LqER41xCwRx3u2 X-Received: by 2002:a17:907:988a:: with SMTP id ja10mr2059010ejc.527.1622776141435; Thu, 03 Jun 2021 20:09:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622776141; cv=none; d=google.com; s=arc-20160816; b=H3WrtDJfSGJzsZCLPhqw+nWay+EUfeebTwof0+kqHV2kk/xROmfiAfTFn+3emJ05rx /7+NU1kZBRgaMlzn5+wQLqsmpkyFoSVB7Xy3LK333WhpCIjx/eKqbpjlsXOqm6qB3TLR s7JCdTSj9HQeYU5cUdjKFyZ6SdfVbfkK9qis10Buel9lYC/CW0HBW9iIdvxYIFNt4tqi jQEiu9h6Zu6kcXyGMfbDpLV1b0h1vCwnoBdGdQj5SCuZ7w+pvfGtoIO9cfALjdINQXD6 xqryoGzgr4XRyCFSvTMlhf8mXU8AUl1yPBk/92cWPWEAIYHE7yz9FSpdwCdYTPqpQMil ohlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=u8CRhj9NpaNynNgg7yQQS2uC6hLXKsf/LnEpS7op8Ps=; b=YCn9/dB2Y2dr0eIO9n3RpkdYZaQcyRkQhdXSe3D+NH1ih9I+SxI11kWGTkv0JFa0jm UJqWhzlNqkYDH4u6mv6tsydw3xd2b+dw6+8vVlAvCPgVmEVE2O9PSZN0jCR/yqmb9xdx NY1tLxyUgD25GsqpCdDXS93Lez08ovvmFWlnfYfr+mWZqkOMj2aypac696FMdvfnlCmm Rea6T4sWFJuo2gZFbng/leP2oMAy2/fOm4qDC8VgYRqz5XHijfzJUHrbg08CczPIpdDj RbpYKny7uxQz9+ZO7GMDi5Fi047Z9ubQya8n9Gg8jcpZB1spG93ElgpRwY6CTyuXtDa2 RAyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=CB6+FNRz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b15si3219667ede.378.2021.06.03.20.08.38; Thu, 03 Jun 2021 20:09:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=CB6+FNRz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229775AbhFDDJe (ORCPT + 99 others); Thu, 3 Jun 2021 23:09:34 -0400 Received: from m12-13.163.com ([220.181.12.13]:42951 "EHLO m12-13.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229695AbhFDDJd (ORCPT ); Thu, 3 Jun 2021 23:09:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=u8CRh j9NpaNynNgg7yQQS2uC6hLXKsf/LnEpS7op8Ps=; b=CB6+FNRz1ov9FW7tYjI2D Ujq9hLCfPez8RuLsPH8wFoFu6URp7nYrGsQAXaqEYOzDYGtjqYhrZ2u0CiREpkMk zzOOfZLsO5vrlp8mHDBbN/3EYdWwEjk8UXVL1LC8eZUNBTLhacVBsOsFLz8yIas9 CXqXeMqe2uKzQf9JsV5fE4= Received: from localhost.localdomain (unknown [218.17.89.92]) by smtp9 (Coremail) with SMTP id DcCowAAnK7fqmLlglFyrEQ--.1587S2; Fri, 04 Jun 2021 11:07:23 +0800 (CST) From: lijian_8010a29@163.com To: tzimmermann@suse.de, sam@ravnborg.org, gustavoars@kernel.org, rppt@kernel.org, saeed.mirzamohammadi@oracle.com Cc: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, lijian Subject: [PATCH] video: fbdev: cirrusfb: Removed unnecessary 'return' Date: Fri, 4 Jun 2021 11:06:24 +0800 Message-Id: <20210604030624.122085-1-lijian_8010a29@163.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: DcCowAAnK7fqmLlglFyrEQ--.1587S2 X-Coremail-Antispam: 1Uf129KBjvdXoWrtFWxGrW3CF45Cw1fZry7KFg_yoWxAFX_Cr 12vr93WrWqkr1vkr10gFyayryvyFn8Zasav3ZFg34Syry7W34rZr18uw12qryagr92vFnr WFyqgr4vywn5CjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IU5rWrtUUUUU== X-Originating-IP: [218.17.89.92] X-CM-SenderInfo: 5olmxttqbyiikqdsmqqrwthudrp/xtbBEROnUFaEEmK0EAABsy Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: lijian Removed unnecessary 'return' in void function init_vgachip(). Signed-off-by: lijian --- drivers/video/fbdev/cirrusfb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/fbdev/cirrusfb.c b/drivers/video/fbdev/cirrusfb.c index 93802abbbc72..e726e7ac3eeb 100644 --- a/drivers/video/fbdev/cirrusfb.c +++ b/drivers/video/fbdev/cirrusfb.c @@ -1662,7 +1662,6 @@ static void init_vgachip(struct fb_info *info) /* misc... */ WHDR(cinfo, 0); /* Hidden DAC register: - */ - return; } static void switch_monitor(struct cirrusfb_info *cinfo, int on) -- 2.25.1