mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-07 22:08:33 -04:00
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:
committed by
Greg Kroah-Hartman
parent
95f2825d3b
commit
b7c5a774b0
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user