projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2006d35
)
staging: usbip: userspace: bind-driver.c: mark remote_host as unused
author
matt mooney
<mfm@muteddisk.com>
Thu, 19 May 2011 04:46:13 +0000
(21:46 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 19 May 2011 22:34:10 +0000
(15:34 -0700)
Use __attribute__((unused)) to suppress error until it can be determined
that remote_host is not needed.
Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/usbip/userspace/src/bind-driver.c
patch
|
blob
|
history
diff --git
a/drivers/staging/usbip/userspace/src/bind-driver.c
b/drivers/staging/usbip/userspace/src/bind-driver.c
index 955c86b23f0f9d2f80627b29e3776fcb70b1c1c3..201ffbbee5476461e61cdada4055a1a4500514d9 100644
(file)
--- a/
drivers/staging/usbip/userspace/src/bind-driver.c
+++ b/
drivers/staging/usbip/userspace/src/bind-driver.c
@@
-541,7
+541,7
@@
static int allusbip(void)
int main(int argc, char **argv)
{
char *busid = NULL;
- char *remote_host = NULL;
+ char *remote_host
__attribute__((unused))
= NULL;
enum {
cmd_unknown = 0,