From patchwork Tue May 21 14:02:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 10953845 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4F95616C1 for ; Tue, 21 May 2019 14:02:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3E52228AB0 for ; Tue, 21 May 2019 14:02:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3244828ABF; Tue, 21 May 2019 14:02:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A291128AB0 for ; Tue, 21 May 2019 14:02:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728582AbfEUOCr (ORCPT ); Tue, 21 May 2019 10:02:47 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:37393 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726750AbfEUOCr (ORCPT ); Tue, 21 May 2019 10:02:47 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190521140245euoutp0227b2f05d1789911a969f816ee72754af~gt58-M8Tl2405724057euoutp02C for ; Tue, 21 May 2019 14:02:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190521140245euoutp0227b2f05d1789911a969f816ee72754af~gt58-M8Tl2405724057euoutp02C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1558447365; bh=l6M7Kgw/u9cdmIuexWPozWhYDjVdWoz4ybdUdatYm6Q=; h=To:Cc:From:Subject:Date:References:From; b=lCPI3x/5T0dqjhvCYEX3/aAY7ITjDsXa9B1P4m3wP5xnAdY0LjYN+0UbOk2gH5nVR m12reggub/bONUUUXMm3efvFZ2pNtObqfHWGIe/7pVfXrWVA3KZaxw6N65HWm3XLp7 Byw/z3BOkqegk5EhW4C3/Yuc2Q/rAS5NVUik1jaE= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190521140245eucas1p21ffe2befeaa9f9bbeb0f706b7c6364d6~gt58pJPn41436614366eucas1p2c; Tue, 21 May 2019 14:02:45 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 07.A2.04298.40504EC5; Tue, 21 May 2019 15:02:45 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190521140244eucas1p244e5e1306a52021a4a0c3910098c4f7c~gt57qG4jp0623806238eucas1p2d; Tue, 21 May 2019 14:02:44 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190521140243eusmtrp2a771ae2ddba704f9e7a497d19c48dd58~gt57ajZT00523705237eusmtrp2B; Tue, 21 May 2019 14:02:43 +0000 (GMT) X-AuditID: cbfec7f2-f2dff700000010ca-41-5ce405047e28 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 20.34.04146.30504EC5; Tue, 21 May 2019 15:02:43 +0100 (BST) Received: from [106.120.51.71] (unknown [106.120.51.71]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190521140243eusmtip298bff93f3a48fc44783a5af991707dd6~gt57KOC0h0610306103eusmtip21; Tue, 21 May 2019 14:02:43 +0000 (GMT) To: Geert Uytterhoeven Cc: dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org From: Bartlomiej Zolnierkiewicz Subject: [PATCH] video: fbdev: atafb: remove superfluous function prototypes Message-ID: <50411fd1-9da0-aab6-709e-749d5e0ce509@samsung.com> Date: Tue, 21 May 2019 16:02:42 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 Content-Language: en-US X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupnleLIzCtJLcpLzFFi42LZduzneV1W1icxBt8tLK58fc9m8ezWXiaL E30fWC0u75rD5sDicehwB6PH/e7jTB6fN8kFMEdx2aSk5mSWpRbp2yVwZXTcryw4xl1xv/MB WwPjIc4uRk4OCQETiSlHJjB2MXJxCAmsYJRY8WsvM4TzhVFiQscydgjnM6PE093vWWBa/v14 wgaRWM4o0fx6PhOE85ZR4tPnv0AtHBwiAroSc34ygTQwCyRInF50D6yZTcBKYmL7KkYQW1jA R+LA+UawGl4BO4k9/xtYQWwWAVWJ3eumg9miAhES949tYIWoEZQ4OfMJC8RMcYlbT+ZDzZeX 2P52DtjZEgKf2STuPPvCBnGpi8TXU7tYIWxhiVfHt7BD2DIS/3dCHC0hsI5R4m/HC6ju7YwS yyf/g+q2ljh8/CIryDfMApoS63fpQ4QdJZqezmYDCUsI8EnceCsIcQSfxKRt05khwrwSHW1C ENVqEhuWbWCDWdu1cyVUiYfEm2XCExgVZyH5bBaSz2Yh+WwWwgkLGFlWMYqnlhbnpqcWG+al lusVJ+YWl+al6yXn525iBCaT0/+Of9rB+PVS0iFGAQ5GJR5ei4ePY4RYE8u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PY+DTo1PXbJjeon3j3Se7 HWrPtu/IUWIpzkg01GIuKk4EAL1xOhebAgAA X-CMS-MailID: 20190521140244eucas1p244e5e1306a52021a4a0c3910098c4f7c X-Msg-Generator: CA X-RootMTR: 20190521140244eucas1p244e5e1306a52021a4a0c3910098c4f7c X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190521140244eucas1p244e5e1306a52021a4a0c3910098c4f7c References: Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP No need for them. Cc: Geert Uytterhoeven Signed-off-by: Bartlomiej Zolnierkiewicz Reviewed-by: Geert Uytterhoeven --- drivers/video/fbdev/atafb.c | 21 --------------------- 1 file changed, 21 deletions(-) Index: b/drivers/video/fbdev/atafb.c =================================================================== --- a/drivers/video/fbdev/atafb.c +++ b/drivers/video/fbdev/atafb.c @@ -77,29 +77,8 @@ #define SWITCH_SND7 0x80 #define SWITCH_NONE 0x00 - #define up(x, r) (((x) + (r) - 1) & ~((r)-1)) - /* - * Interface to the world - */ - -static int atafb_check_var(struct fb_var_screeninfo *var, struct fb_info *info); -static int atafb_set_par(struct fb_info *info); -static int atafb_setcolreg(unsigned int regno, unsigned int red, unsigned int green, - unsigned int blue, unsigned int transp, - struct fb_info *info); -static int atafb_blank(int blank, struct fb_info *info); -static int atafb_pan_display(struct fb_var_screeninfo *var, - struct fb_info *info); -static void atafb_fillrect(struct fb_info *info, - const struct fb_fillrect *rect); -static void atafb_copyarea(struct fb_info *info, - const struct fb_copyarea *region); -static void atafb_imageblit(struct fb_info *info, const struct fb_image *image); -static int atafb_ioctl(struct fb_info *info, unsigned int cmd, - unsigned long arg); - static int default_par; /* default resolution (0=none) */