]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
storage: Replace magic number with define in usb_stor_euscsi_init()
authorMark Knibbs <markk@clara.co.uk>
Sun, 21 Sep 2014 18:59:42 +0000 (19:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 05:29:27 +0000 (22:29 -0700)
commitbda9893c50fb56253d3c206c14e3f933e5f68b3c
tree4bb2ffb799ff03f84ef8bde6a382407869ed6c82
parent5cb307c4c27a9f37ef0c8e6bedc8c53c9197f48f
storage: Replace magic number with define in usb_stor_euscsi_init()

usb_stor_euscsi_init() calls usb_stor_control_msg() with timeout
argument 5000. USB_CTRL_SET_TIMEOUT is defined to be 5000 in usb.h, so
would it make sense to use that instead? Patch below if it would.

Signed-off-by: Mark Knibbs <markk@clara.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/initializers.c