staging: sep: Fix misceanellous problems reported by checkpatch
authorLABBE Corentin <clabbe.montjoie@gmail.com>
Sat, 19 Jul 2014 17:34:41 +0000 (19:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Jul 2014 19:19:23 +0000 (12:19 -0700)
Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sep/sep_main.c

index 5188897..d24acfd 100644 (file)
@@ -130,7 +130,6 @@ void sep_queue_status_remove(struct sep_device *sep,
 
        dev_dbg(&sep->pdev->dev, "[PID%d] sep_queue_status_remove return\n",
                current->pid);
-       return;
 }
 
 /**
@@ -1736,7 +1735,7 @@ static void sep_debug_print_lli_tables(struct sep_device *sep,
                return;
        }
 
-       while ((unsigned long) lli_table_ptr->bus_address != 0xffffffff) {
+       while ((unsigned long)lli_table_ptr->bus_address != 0xffffffff) {
                dev_dbg(&sep->pdev->dev,
                        "[PID%d] lli table %08lx, table_data_size is (hex) %lx\n",
                        current->pid, table_count, table_data_size);
@@ -1751,7 +1750,7 @@ static void sep_debug_print_lli_tables(struct sep_device *sep,
                        dev_dbg(&sep->pdev->dev,
                                "[PID%d] lli_table_ptr address is %08lx\n",
                                current->pid,
-                               (unsigned long) lli_table_ptr);
+                               (unsigned long)lli_table_ptr);
 
                        dev_dbg(&sep->pdev->dev,
                                "[PID%d] phys address is %08lx block size is (hex) %x\n",