diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2020-04-22 23:20:19 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-23 16:28:13 +0300 |
commit | a6cd27e9b594ccf4bf525969c1077f2dbe515476 (patch) | |
tree | a93f6cb1a7e8617329f4c7d2eb8d07f76146031d /drivers/message | |
parent | 27b0387b4221f076447d6738fdeafd8b9f437869 (diff) | |
download | linux-a6cd27e9b594ccf4bf525969c1077f2dbe515476.tar.xz |
USB: core: Replace an empty statement with a debug message
This patch adds a dev_dbg() message to usb_create_sysfs_intf_files().
The message is not expected ever to appear; it's real purpose is to
satisfy the __must_check attribute on device_create_file() without
triggering a compiler warning about an empty statement.
In fact we don't really care if the sysfs attribute file doesn't get
created. The interface string descriptor is purely informational and
hardly ever present.
Suggested-by: NeilBrown <neilb@suse.de>
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Link: https://lore.kernel.org/r/Pine.LNX.4.44L0.2004221618500.11262-100000@iolanthe.rowland.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/message')
0 files changed, 0 insertions, 0 deletions