[PATCH 2/2] staging: emxx_udc: remove macro ERR

Tobias Klauser tklauser at distanz.ch
Wed Jan 21 14:02:26 UTC 2015


On 2015-01-21 at 23:56:06 +0100, Ahmad Hassan <ahmad.hassan612 at gmail.com> wrote:
> Removed ERR macro since it is not used anymore in the emxx_udc.c file.
> 
> Signed-off-by: Ahmad Hassan <ahmad.hassan612 at gmail.com>
> ---
>  drivers/staging/emxx_udc/emxx_udc.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/staging/emxx_udc/emxx_udc.h b/drivers/staging/emxx_udc/emxx_udc.h
> index ee1b80d..0758cd5 100644
> --- a/drivers/staging/emxx_udc/emxx_udc.h
> +++ b/drivers/staging/emxx_udc/emxx_udc.h
> @@ -644,6 +644,5 @@ typedef volatile union {
>  } USB_REG_ACCESS;
>  
>  /*-------------------------------------------------------------------------*/

While at it, you could also remove the line above.

> -#define ERR(stuff...)		printk(KERN_ERR "udc: " stuff)
>  
>  #endif  /* _LINUX_EMXX_H */
> -- 
> 2.2.1
> 
> _______________________________________________
> devel mailing list
> devel at linuxdriverproject.org
> http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
> 


More information about the devel mailing list