diff options
author | Joe Perches | 2014-10-20 20:51:00 -0700 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-11-03 15:38:17 -0800 |
commit | e5283626f5d535c54cbcc3ec4a60a4746578a4c2 (patch) | |
tree | 9b33698dab7a42232712ffcc0587c55cd0b7b450 /drivers/usb/storage/debug.c | |
parent | 474fe70bcf04b4d99867bc214c70d45624ab6f6f (diff) |
usb: storage: Convert usb_stor_dbg to return void
No caller or macro uses the return value so make it void.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/storage/debug.c')
-rw-r--r-- | drivers/usb/storage/debug.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/usb/storage/debug.c b/drivers/usb/storage/debug.c index e08f64780e30..05bc379b9e62 100644 --- a/drivers/usb/storage/debug.c +++ b/drivers/usb/storage/debug.c @@ -179,17 +179,14 @@ void usb_stor_show_sense(const struct us_data *us, US_DEBUGPX("\n"); } -int usb_stor_dbg(const struct us_data *us, const char *fmt, ...) +void usb_stor_dbg(const struct us_data *us, const char *fmt, ...) { va_list args; - int r; va_start(args, fmt); - r = dev_vprintk_emit(7, &us->pusb_dev->dev, fmt, args); + dev_vprintk_emit(7, &us->pusb_dev->dev, fmt, args); va_end(args); - - return r; } EXPORT_SYMBOL_GPL(usb_stor_dbg); |