staging/ft1000: remove unnecessary assignment of ret with STATUS_SUCCESS

as ret is assigned to the return of ft1000_poll, we dont need to
initialise ret with STATUS_SUCCESS.

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Devendra Naga 2012-07-07 17:35:19 +05:30 committed by Greg Kroah-Hartman
parent 95f2825d3b
commit b7c5a774b0
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ MODULE_DEVICE_TABLE(usb, id_table);
static bool gPollingfailed = FALSE;
static int ft1000_poll_thread(void *arg)
{
int ret = STATUS_SUCCESS;
int ret;
while (!kthread_should_stop()) {
msleep(10);