Skip to content

Commit

Permalink
staging/ft1000: remove unnecessary assignment of ret with STATUS_SUCCESS
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Devendra Naga authored and Greg Kroah-Hartman committed Jul 9, 2012
1 parent 95f2825 commit b7c5a77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/ft1000/ft1000-usb/ft1000_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b7c5a77

Please sign in to comment.