usb: gadget: remove duplicated print macro 15/165215/2
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 27 Dec 2017 06:22:57 +0000 (15:22 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 28 Dec 2017 09:29:36 +0000 (18:29 +0900)
There are duplicated print macros. Remove the macros.

Change-Id: I26cfa53689c39d661e64eb1a61e381f8baf30ac4
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/usb/gadget/serial.c
include/linux/usb/composite.h

index 61a694a..72c7662 100644 (file)
@@ -54,8 +54,6 @@
 #include "f_serial.c"
 #include "u_serial.c"
 
-#define pr_warning(args...) printf(##args)
-
 /*-------------------------------------------------------------------------*/
 
 /* Thanks to NetChip Technologies for donating this product ID.
index b200ef7..9359360 100644 (file)
@@ -363,8 +363,6 @@ extern int usb_string_id(struct usb_composite_dev *c);
 
 /* messaging utils */
 #ifdef DEBUG
-#define pr_warning(args...) printf(##args)
-#define pr_debug(args...) printf(#args)
 #define DBG(d, fmt, args...) \
     printf(fmt, ##args)
 #define VDBG(d, fmt, args...) \
@@ -376,8 +374,6 @@ extern int usb_string_id(struct usb_composite_dev *c);
 #define INFO(d, fmt, args...) \
     printf(fmt, ##args)
 #else
-#define pr_warning(args...) 
-#define pr_debug(args...) 
 #define DBG(d, fmt, args...)
 #define VDBG(d, fmt, args...)
 #define ERROR(d, fmt, args...) \