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:
parent
95f2825d3b
commit
b7c5a774b0
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue