[PATCH v2 19/21] staging: unisys: remove check for GNUC

Greg KH gregkh at linuxfoundation.org
Fri Sep 2 12:51:29 UTC 2016


On Thu, Sep 01, 2016 at 03:15:11PM -0400, David Kershner wrote:
> The check for GNUC is redundant and is not needed for vmcallinterface.h.
> 
> Signed-off-by: David Kershner <david.kershner at unisys.com>
> Reviewed-by: Tim Sell <Timothy.Sell at unisys.com>
> Reported-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> ---
>  drivers/staging/unisys/visorbus/vmcallinterface.h | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/staging/unisys/visorbus/vmcallinterface.h b/drivers/staging/unisys/visorbus/vmcallinterface.h
> index 0e8f146..ae18996 100644
> --- a/drivers/staging/unisys/visorbus/vmcallinterface.h
> +++ b/drivers/staging/unisys/visorbus/vmcallinterface.h
> @@ -85,7 +85,6 @@ enum vmcall_monitor_interface_method_tuple { /* VMCALL identification tuples  */
>  #define VMCALL_SUCCESS 0
>  #define VMCALL_SUCCESSFUL(result)	(result == 0)
>  
> -#ifdef __GNUC__

Here's an example of something I never reported.

If I had reviewed this file, I would have found far more than just
this... :)

thanks,

greg k-h


More information about the devel mailing list