staging: usbip: use local variable while setting up socket
authorAnthony Foiani <anthony.foiani@gmail.com>
Mon, 8 Jul 2013 06:52:41 +0000 (00:52 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 22:04:19 +0000 (15:04 -0700)
commit2568dd1b6b800dd0fdff5aa997cf7d0c46c19ffe
treecc70df3a3dcc9d181b450ae20874ab8a4a5f911e
parent04948a34698ddfa8823148b3a357cf3438e1433b
staging: usbip: use local variable while setting up socket

Using a simple integer makes the code easier to read and removes the
need to blank out array elements in case of errors.

Signed-Off-By: Anthony Foiani <anthony.foiani@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/usbip/userspace/src/usbipd.c