io_u: Using initialized local variable
authorErwan Velu <erwan.velu@enovance.com>
Wed, 2 Apr 2014 08:51:16 +0000 (10:51 +0200)
committerErwan Velu <erwan.velu@enovance.com>
Wed, 2 Apr 2014 08:53:31 +0000 (10:53 +0200)
commit9ee1c647001865a20324cbc2d7c1d68f0f24503e
tree3e3fe8db2e0764171e41cd08baf84adce5518764
parenta806bf2e054ca389a56130849a4394ac9d4334b6
io_u: Using initialized local variable

ddir was feed with io_u->ddir at init time but didn't got used before
reassign it to the same value or another one.

That was making this init useless.

This patch simplify this portion of code by using the initialized
variable.
io_u.c