]> git.hungrycats.org Git - linux/commit
[PATCH] USB: usb-storage: Move static string out of initializers.h
authorAlan Stern <stern@rowland.harvard.edu>
Wed, 6 Aug 2003 08:50:53 +0000 (01:50 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 6 Aug 2003 08:50:53 +0000 (01:50 -0700)
commitf717fdd78688e6a86ec885ef7fdbae2f9f3f0138
tree879eb147389a2b8cc8aff3b8152275c88e00aa4f
parent0061714a7d1fb216413d8e14c5a6b6d6582ba20d
[PATCH] USB: usb-storage: Move static string out of initializers.h

This patch seems to have fallen through the cracks.  It takes a string
constant defined as a macro in initializers.h and instead makes it a
static string in initializers.c.  It also subtracts 1 from the sizeof()
value to avoid transmitting the terminating NUL.

Finally, the patch removes an unnecessary debugging printout -- the value
printed is an _output_ buffer, so of course it won't change.
drivers/usb/storage/initializers.c
drivers/usb/storage/initializers.h