Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35335521rwd; Mon, 10 Jul 2023 06:09:35 -0700 (PDT) X-Google-Smtp-Source: APBJJlETTILEEGbpcoJm6b5OzdDIPXrRuThPeNAKaztsm82QCt3QgEKW/FPjVSifrBDR7DuGep58 X-Received: by 2002:a2e:9001:0:b0:2b6:bbb9:b560 with SMTP id h1-20020a2e9001000000b002b6bbb9b560mr9018106ljg.0.1688994574960; Mon, 10 Jul 2023 06:09:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688994574; cv=none; d=google.com; s=arc-20160816; b=VxzuUCrMNl08xPLzwZlqyPyDHrUm/aZ9rYpg8J/gS28KuAWRaqVNWV822VWqX/l2kh Ve14c3x1SxeiRShoaCd8HJdhju4zamDDTSkx+/GFke6taxdx7C/dBxWpP8wvEpM4FLbc PrqzsuTwBfhY91yw1fgW4/cUag4jcUi/D4y0WTrhCj2pgL3dSi9p2Bquy3zNvm6GJTxX RZkF6jDxz4UMTAzCiDRJPPxE1ImfChvgFO2CXav3QUP0VgEbnnRtBYQFOQqDpASIePpX IHsIwI5UEXuJDezv0wSWfbn/HwYz8edw8d2W/fPYs+Pm1TS8hHR5Mi7gawzE3Arhf4CX E1fA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=k3Q7rN4uB+J1V5z/pM2xXkTWGLGbwkJYVrRXPROadyQ=; fh=17YvZgVzGG5ZS7L4kfN74vr1MJLFQn7Kam4U1irxq8g=; b=uDMV48PpTg+mXX4tm5NiahQW/qY8LV1fG70fs6VJ1JUVf56Sjl8pkBhrneDDmyzzHS L8Vk5kBTVtaO//que3EXProchuDbOnDtsyVxhcJB6IHWZQLAuyfTxaIXEVbwBfvcAg7e Bf+VPzUxSn0MDDxcb8ROPvPLfATHMLsxnxTZiMXTxqLByJYPiY1L3Vy12OZUTEMwMVBQ MODbKYKSs6SHwYeNoSXI9OTonH27r5/8ZQe6qTAHEVZsbbl08PElGCKF6yipYizq+rcE G3+rkUE8CVlTPsWXKfhVevoY5G0poqMOJBavGd4w9uXNbXFR3TNz/wu4upIo1UDKHQ8t fWyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=G6hKKL5K; dkim=neutral (no key) header.i=@suse.de header.b=+M6WfipM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y9-20020a17090668c900b00992b2a28ef6si9389616ejr.25.2023.07.10.06.09.10; Mon, 10 Jul 2023 06:09:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=G6hKKL5K; dkim=neutral (no key) header.i=@suse.de header.b=+M6WfipM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232429AbjGJNCj (ORCPT + 99 others); Mon, 10 Jul 2023 09:02:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232383AbjGJNBe (ORCPT ); Mon, 10 Jul 2023 09:01:34 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C48C11B; Mon, 10 Jul 2023 06:01:25 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 57E421FF84; Mon, 10 Jul 2023 13:01:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1688994081; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=k3Q7rN4uB+J1V5z/pM2xXkTWGLGbwkJYVrRXPROadyQ=; b=G6hKKL5KrBERbMThki2psOcV2jw/l8J404yiYIHAbvOXdnnOjDY1HsAgoBuH6I9oeVRy8R bTY+Ubdfn7A6pLdMMYSKZ6Sp5gcCEFdoyD3iiXuWOQGDhYzf1lC15dS0NDETjIvIyG5PeE YV3s57HA6a3IPsyCAa6hDj8w/mdoamE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1688994081; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=k3Q7rN4uB+J1V5z/pM2xXkTWGLGbwkJYVrRXPROadyQ=; b=+M6WfipMD9kMGJM7lIKRFqqOy1tMarfcgA06brq8WXn351qsyrQQAUkcfVOXG8Bn9Ekg/R GWbAIMAwxZv8IsCA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 06BC813A6B; Mon, 10 Jul 2023 13:01:21 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id INWlACEBrGTTFAAAMHmgww (envelope-from ); Mon, 10 Jul 2023 13:01:21 +0000 From: Thomas Zimmermann To: deller@gmx.de, javierm@redhat.com Cc: linux-sh@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, linux-input@vger.kernel.org, linux-media@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-geode@lists.infradead.org, linux-nvidia@lists.surfsouth.com, linux-hyperv@vger.kernel.org, linux-omap@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kvm@vger.kernel.org, Thomas Zimmermann Subject: [PATCH 15/17] fbdev/atafb: Remove flag FBINFO_FLAG_DEFAULT Date: Mon, 10 Jul 2023 14:50:19 +0200 Message-ID: <20230710130113.14563-16-tzimmermann@suse.de> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230710130113.14563-1-tzimmermann@suse.de> References: <20230710130113.14563-1-tzimmermann@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The flag FBINFO_FLAG_DEFAULT is 0 and has no effect, as struct fbinfo.flags has been allocated to zero by a static declaration. So do not set it. Flags should signal differences from the default values. After cleaning up all occurences of FBINFO_FLAG_DEFAULT, the token can be removed. Signed-off-by: Thomas Zimmermann Cc: Helge Deller --- drivers/video/fbdev/atafb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/fbdev/atafb.c b/drivers/video/fbdev/atafb.c index 2bc4089865e6..c4a420b791b9 100644 --- a/drivers/video/fbdev/atafb.c +++ b/drivers/video/fbdev/atafb.c @@ -3112,7 +3112,6 @@ static int __init atafb_probe(struct platform_device *pdev) #ifdef ATAFB_FALCON fb_info.pseudo_palette = current_par.hw.falcon.pseudo_palette; #endif - fb_info.flags = FBINFO_FLAG_DEFAULT; if (!fb_find_mode(&fb_info.var, &fb_info, mode_option, atafb_modedb, NUM_TOTAL_MODES, &atafb_modedb[defmode], -- 2.41.0