Commit b7c5a774 authored by Devendra Naga's avatar Devendra Naga Committed by Greg Kroah-Hartman

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: default avatarDevendra Naga <devendra.aaru@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 95f2825d
...@@ -39,7 +39,7 @@ MODULE_DEVICE_TABLE(usb, id_table); ...@@ -39,7 +39,7 @@ MODULE_DEVICE_TABLE(usb, id_table);
static bool gPollingfailed = FALSE; static bool gPollingfailed = FALSE;
static int ft1000_poll_thread(void *arg) static int ft1000_poll_thread(void *arg)
{ {
int ret = STATUS_SUCCESS; int ret;
while (!kthread_should_stop()) { while (!kthread_should_stop()) {
msleep(10); msleep(10);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment