From: Mikhail Gusarov Date: Fri, 11 Sep 2020 21:33:51 +0000 (+0200) Subject: staging: emxx_udc: Remove misplaced debugging aid X-Git-Tag: v5.15~2674^2~133 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=14850f8ffb4699bffd529ac2f513fb0496a69a7a;p=platform%2Fkernel%2Flinux-starfive.git staging: emxx_udc: Remove misplaced debugging aid emxx_udc.h contained a #if 0 block with debugging macros. These should be supplied via command line or Kconfig. Fixes checkstyle's WARNING: Consider removing the code enclosed by this #if 0 and its #endif Signed-off-by: Mikhail Gusarov Link: https://lore.kernel.org/r/20200911213350.15914-1-dottedmag@dottedmag.net Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/emxx_udc/emxx_udc.h b/drivers/staging/emxx_udc/emxx_udc.h index 45f076e..bca614d 100644 --- a/drivers/staging/emxx_udc/emxx_udc.h +++ b/drivers/staging/emxx_udc/emxx_udc.h @@ -9,11 +9,6 @@ #define _LINUX_EMXX_H /*---------------------------------------------------------------------------*/ -/*----------------- Default undef */ -#if 0 -#define DEBUG -#define UDC_DEBUG_DUMP -#endif /*----------------- Default define */ #define USE_DMA 1