From patchwork Fri Feb 23 00:00:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rodrigo Siqueira X-Patchwork-Id: 10236651 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 91C65602DC for ; Fri, 23 Feb 2018 00:01:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 893F62908B for ; Fri, 23 Feb 2018 00:01:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7D65629091; Fri, 23 Feb 2018 00:01:04 +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=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1AF182908B for ; Fri, 23 Feb 2018 00:01:03 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0470B6ED3D; Fri, 23 Feb 2018 00:01:03 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-vk0-x244.google.com (mail-vk0-x244.google.com [IPv6:2607:f8b0:400c:c05::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id A4A726ED3D for ; Fri, 23 Feb 2018 00:01:01 +0000 (UTC) Received: by mail-vk0-x244.google.com with SMTP id t201so4269596vke.8 for ; Thu, 22 Feb 2018 16:01:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=wEm3Ai38alY1xJrIrgLbsnJhum2aWjE0TRaTedohh68=; b=oyypJLHAJD04dE2YJeJIiAhecJtBr+cggm8RtmxsCQ5svk1EAdsEV9M5dR2plTkeW+ yCjrkUrrEnRe9oqxZfb5BHLYCGVOB37Mv24b5ZuopRc5sznaR/JYiO5HagTRRwXOwh0e 1+jc4u34czRvGsgbD8auj+w+WLKBm9HJ60pE5zhg0HkQKiSOwt5MO1f8w1ZHMIOzOwHE hhDYW51mzzesWndzacdUkTPzv4okIO2CmNTSGs3EKxiV63q1sNSJtJ9PBxvDqMrn7mL+ RbjcK5E/LZxiFPlIvh3pTaUoDMVQs1teGroA6h1PyaD+srxAYDpNsvLQ+amv0NTZz9jT 6NBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=wEm3Ai38alY1xJrIrgLbsnJhum2aWjE0TRaTedohh68=; b=CkWlzvb5OjddrDAS6KbFQMgZ+sUQXR99nvbbQWeghdvxSGrjVkf3VPsSjhy7131AEC 89AWGVgRPJ5eraYVJjomh3wLITQO78SoF3Pzu6wdUhN0T1wYV6py2hueQ+RvSGsvZZg4 /ZLFTFHGXZXZA93Lg5k+iS63krn23AmK6Cy7UMNxOYhv4u7ZfP9aGpg5vHy8xOm4bE7Z HC3Xg9GH4gpASk/KZvDK8H/JOIAOqlZ4pmov8kwdXtghXzK9mPbDkUjjIdSF8RBIyKMe PW8koIjy7NNa+liJ6weYgN26mK5sS7vwfLcj6i5XTuSh6S9xv/u4qa2EQY1vECPL3YZY 5pfg== X-Gm-Message-State: APf1xPAOf4NWm1Nrt33oayPj7nBeXJYlSrGEeK4YnE+vVvRInGBZaWuR 6XYPF766jM5vBnL++CFEtiA= X-Google-Smtp-Source: AH8x227y+NMCvKVF/S1PMrITnI7E+PV9r9XirnxoB0x0iaiQ4AW56uLTsWT4+zMeNGOw/E6yUVQ0Cw== X-Received: by 10.31.223.135 with SMTP id w129mr6929816vkg.48.1519344060648; Thu, 22 Feb 2018 16:01:00 -0800 (PST) Received: from smtp.gmail.com ([143.107.45.1]) by smtp.gmail.com with ESMTPSA id x4sm111317ual.40.2018.02.22.16.00.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 22 Feb 2018 16:00:59 -0800 (PST) Date: Thu, 22 Feb 2018 21:00:57 -0300 From: Rodrigo Siqueira To: David Airlie , Gerd Hoffmann Subject: [PATCH 6/7] drm/virtio: Remove multiple blank lines Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20171215 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, virtualization@lists.linux-foundation.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP This patch fixes the checkpatch.pl check: virtgpu_drv.c:116: CHECK: Please don't use multiple blank lines virtgpu_vq.c:599: CHECK: Please don't use multiple blank lines virtgpu_prime.c:42: CHECK: Please don't use multiple blank lines Signed-off-by: Rodrigo Siqueira --- drivers/gpu/drm/virtio/virtgpu_drv.c | 1 - drivers/gpu/drm/virtio/virtgpu_prime.c | 1 - drivers/gpu/drm/virtio/virtgpu_vq.c | 1 - 3 files changed, 3 deletions(-) diff --git a/drivers/gpu/drm/virtio/virtgpu_drv.c b/drivers/gpu/drm/virtio/virtgpu_drv.c index 5d21433b1cdf..d9287c144fe5 100644 --- a/drivers/gpu/drm/virtio/virtgpu_drv.c +++ b/drivers/gpu/drm/virtio/virtgpu_drv.c @@ -113,7 +113,6 @@ static const struct file_operations virtio_gpu_driver_fops = { .llseek = noop_llseek, }; - static struct drm_driver driver = { .driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME | DRIVER_RENDER | DRIVER_ATOMIC, .load = virtio_gpu_driver_load, diff --git a/drivers/gpu/drm/virtio/virtgpu_prime.c b/drivers/gpu/drm/virtio/virtgpu_prime.c index 6c6e9dbab096..d27a1688714f 100644 --- a/drivers/gpu/drm/virtio/virtgpu_prime.c +++ b/drivers/gpu/drm/virtio/virtgpu_prime.c @@ -39,7 +39,6 @@ void virtgpu_gem_prime_unpin(struct drm_gem_object *obj) WARN_ONCE(1, "not implemented"); } - struct sg_table *virtgpu_gem_prime_get_sg_table(struct drm_gem_object *obj) { WARN_ONCE(1, "not implemented"); diff --git a/drivers/gpu/drm/virtio/virtgpu_vq.c b/drivers/gpu/drm/virtio/virtgpu_vq.c index 809d20eb6571..18c78a7fa044 100644 --- a/drivers/gpu/drm/virtio/virtgpu_vq.c +++ b/drivers/gpu/drm/virtio/virtgpu_vq.c @@ -596,7 +596,6 @@ static void virtio_gpu_cmd_capset_cb(struct virtio_gpu_device *vgdev, wake_up(&vgdev->resp_wq); } - int virtio_gpu_cmd_get_display_info(struct virtio_gpu_device *vgdev) { struct virtio_gpu_ctrl_hdr *cmd_p;