Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1815000imj; Sun, 17 Feb 2019 15:30:37 -0800 (PST) X-Google-Smtp-Source: AHgI3IbQs7J+XuF0od4tSzxtWqYKLG0+hx+1vJrVyW26fBbv9JA7iW6L+SrKC9b9AlfSh05nEZjb X-Received: by 2002:a62:4641:: with SMTP id t62mr21020109pfa.141.1550446237229; Sun, 17 Feb 2019 15:30:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550446237; cv=none; d=google.com; s=arc-20160816; b=a/Ga9I6kD5iqqrEUrwK5d6F8XEYYJpnTHFuVqdIGBgb66W9sRrXiKrjvnd4NnziiBW cDhWYfRDBcU2O/4u7VvLURIHIbj1BaP8QNu4TFJ4CKaPP/qMPDAnn50Mvj0WzUIAsTHj 44hu/G+209UzZ3OeeQDWTLsL0UuoH2XrcdMWun/5zd4iVkYqDP+EpnN4a0SF3IYkMvGP zAwvpe483pe9Kpmo65H4R9tv9Bg2v4Rknarj6x2gY5JbzhKP7QyIAVpOlINPbd4TTOWH iB6LS2Hv+0/DeDXWhPrEfCSt+uIxTfKbe/9YHbe9EUEx1dZVh7u4uLvW9HH7MQTvuoFk 63jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:from:message-id:cc:to; bh=sIqXLrzASPmqejWW88EBp3/FfoOiu2vgMsdudYEvlSw=; b=s3hhQ9ONWUHbJM1YJ62Mt80e+MJDiGTa2PC4iaaFswjSwJvire/7I3ZZcsHHQGVXN0 BMV5yr9hRBTeqfP9RwiczFbr+KdNtfPMiJnex86DRX1SQFVTH6u284L9o3CrPA9Xiuas 0o5Ghmw7nTAnFDZEE3lwqcRNEenLWhGjX2nZFkxEoqfxhwJ+X0Nl2cl0q6YVbw6AdYTI 1QDR2jf2GiifNR45SX8exuN0dVIuS8GqeZ2U70RdIL0WvCWoCJ/lHTzTa3LTpQR4vhFS vIkfbXj88D+w+H2/rC2VS6Qo9kb/Ys1Qy2ZXD4GJOnBL8Npelujv8xWI22iFXtZRMVfa 1rHw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d40si8444653pla.114.2019.02.17.15.30.20; Sun, 17 Feb 2019 15:30:37 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727286AbfBQXaB (ORCPT + 99 others); Sun, 17 Feb 2019 18:30:01 -0500 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:43480 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727003AbfBQXaB (ORCPT ); Sun, 17 Feb 2019 18:30:01 -0500 Received: by kvm5.telegraphics.com.au (Postfix, from userid 502) id C78AC29D9A; Sun, 17 Feb 2019 18:29:59 -0500 (EST) To: Bartlomiej Zolnierkiewicz Cc: linux-m68k@lists.linux-m68k.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Message-Id: <80cf1394f099ced17bd5075be88cf33c1232086a.1550445927.git.fthain@telegraphics.com.au> From: Finn Thain Subject: [PATCH] video/macfb: Call fb_invert_cmaps() Date: Mon, 18 Feb 2019 10:25:27 +1100 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The 'inverse' parameter has no effect otherwise. Remove set-but-unused variable. Cc: linux-m68k@lists.linux-m68k.org Signed-off-by: Finn Thain --- drivers/video/fbdev/macfb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/video/fbdev/macfb.c b/drivers/video/fbdev/macfb.c index 00671055a611..37c56c45ee39 100644 --- a/drivers/video/fbdev/macfb.c +++ b/drivers/video/fbdev/macfb.c @@ -136,7 +136,6 @@ static struct fb_fix_screeninfo macfb_fix = { static void *slot_addr; static struct fb_info fb_info; static u32 pseudo_palette[16]; -static int inverse; static int vidtest; /* @@ -520,7 +519,7 @@ static void __init macfb_setup(char *options) continue; if (!strcmp(this_opt, "inverse")) - inverse = 1; + fb_invert_cmaps(); else if (!strcmp(this_opt, "vidtest")) vidtest = 1; /* enable experimental CLUT code */ -- 2.19.2