summaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage/debug.h
diff options
context:
space:
mode:
authorMatthias Maennich <maennich@google.com>2019-09-06 11:32:34 +0100
committerJessica Yu <jeyu@kernel.org>2019-09-10 10:30:53 +0200
commit8140de1ea3a0002c24eba4b72efbb9403afa6b50 (patch)
treec1f3a1c70be66c9bcb01b897d35510f4877f77cb /drivers/usb/storage/debug.h
parentc4f4af4094d6c7dbca3acd8d04df2759d268a116 (diff)
downloadlinux-8140de1ea3a0002c24eba4b72efbb9403afa6b50.tar.bz2
usb-storage: remove single-use define for debugging
USB_STORAGE was defined as "usb-storage: " and used in a single location as argument to printk. In order to be able to use the name 'USB_STORAGE', drop the definition and use the string directly for the printk call. Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Matthias Maennich <maennich@google.com> Signed-off-by: Jessica Yu <jeyu@kernel.org>
Diffstat (limited to 'drivers/usb/storage/debug.h')
-rw-r--r--drivers/usb/storage/debug.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/storage/debug.h b/drivers/usb/storage/debug.h
index 6d64f342f587..16ce06039a4d 100644
--- a/drivers/usb/storage/debug.h
+++ b/drivers/usb/storage/debug.h
@@ -29,8 +29,6 @@
#include <linux/kernel.h>
-#define USB_STORAGE "usb-storage: "
-
#ifdef CONFIG_USB_STORAGE_DEBUG
void usb_stor_show_command(const struct us_data *us, struct scsi_cmnd *srb);
void usb_stor_show_sense(const struct us_data *us, unsigned char key,