]> git.sur5r.net Git - u-boot/commit
ums: move all variable declarations to the start of the block
authorStephen Warren <swarren@nvidia.com>
Mon, 5 May 2014 16:40:17 +0000 (10:40 -0600)
committerLukasz Majewski <l.majewski@samsung.com>
Thu, 8 May 2014 08:38:29 +0000 (10:38 +0200)
commit1725f12882eca6424d70dcdc962ca4e5c2de798a
tree228bec353994de59d21e986fdfc414d3313ab1ab
parentd0cc456dc3561d473926e60fb10ab643790a9ac7
ums: move all variable declarations to the start of the block

It's easier to assign values to the variables inside an if statement body
if the assignment and declaration are separate.

Cc: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Przemyslaw Marczak <p.marczak@samsung.com>
common/cmd_usb_mass_storage.c