greybus: es1: no need to assign a variable we return directly
authorGreg Kroah-Hartman <greg@kroah.com>
Wed, 21 Jan 2015 01:47:21 +0000 (09:47 +0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 21 Jan 2015 01:47:21 +0000 (09:47 +0800)
commit2ec515bfff5b13c4efd0d260683b1213f3069ab4
tree752b1486fe8d2b248b423bfc18ecc14f192566cb
parent580c47d8b4643730be2aef344562953377239ea3
greybus: es1: no need to assign a variable we return directly

In next_free_urb(), just return usb_alloc_urb(), don't waste the time
assigning it to a local variable that we then return.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/gb-es1.c