From b4cbdd0e102e74e0891c7d488f2989aee2c83d31 Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Wed, 27 Dec 2017 15:22:57 +0900 Subject: [PATCH] usb: gadget: remove duplicated print macro There are duplicated print macros. Remove the macros. Change-Id: I26cfa53689c39d661e64eb1a61e381f8baf30ac4 Signed-off-by: Seung-Woo Kim --- drivers/usb/gadget/serial.c | 2 -- include/linux/usb/composite.h | 4 ---- 2 files changed, 6 deletions(-) diff --git a/drivers/usb/gadget/serial.c b/drivers/usb/gadget/serial.c index 61a694a..72c7662 100644 --- a/drivers/usb/gadget/serial.c +++ b/drivers/usb/gadget/serial.c @@ -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. diff --git a/include/linux/usb/composite.h b/include/linux/usb/composite.h index b200ef7..9359360 100644 --- a/include/linux/usb/composite.h +++ b/include/linux/usb/composite.h @@ -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...) \ -- 2.7.4