[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YAVa54YVVH37ZnXf@phenom.ffwll.local>
Date: Mon, 18 Jan 2021 10:54:47 +0100
From: Daniel Vetter <daniel@...ll.ch>
To: Yue Zou <zouyue3@...wei.com>
Cc: maarten.lankhorst@...ux.intel.com, mripard@...nel.org,
tzimmermann@...e.de, airlied@...ux.ie, daniel@...ll.ch,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] vgaarb: Remove unneeded semicolons
On Mon, Jan 18, 2021 at 01:03:55AM +0000, Yue Zou wrote:
> Remove superfluous semicolons after function definitions.
>
> Signed-off-by: Yue Zou <zouyue3@...wei.com>
Thanks for your patch, applied.
-Daniel
> ---
> include/linux/vgaarb.h | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/include/linux/vgaarb.h b/include/linux/vgaarb.h
> index 977caf96c8d2..fc6dfeba04a5 100644
> --- a/include/linux/vgaarb.h
> +++ b/include/linux/vgaarb.h
> @@ -121,9 +121,9 @@ extern struct pci_dev *vga_default_device(void);
> extern void vga_set_default_device(struct pci_dev *pdev);
> extern int vga_remove_vgacon(struct pci_dev *pdev);
> #else
> -static inline struct pci_dev *vga_default_device(void) { return NULL; };
> -static inline void vga_set_default_device(struct pci_dev *pdev) { };
> -static inline int vga_remove_vgacon(struct pci_dev *pdev) { return 0; };
> +static inline struct pci_dev *vga_default_device(void) { return NULL; }
> +static inline void vga_set_default_device(struct pci_dev *pdev) { }
> +static inline int vga_remove_vgacon(struct pci_dev *pdev) { return 0; }
> #endif
>
> /*
> --
> 2.25.1
>
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
Powered by blists - more mailing lists