Skip to contentSkip to conversation

staging/csr: fix coding style problems in uf_stop_thread

PATCH In review Devendra Naga 1 participant 1 message Aug 4, 2012 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 2/5 staging/csr: fix coding style problems in uf_stop_thread

The following warnings and errors were fixed:

* fix no space at the start of a line
* fix line over 80 characters
* use tabs instead of spaces

Cc Mikko Virkkilä <[email protected]>
Cc Lauri Hintsala <[email protected]>
Cc Riku Mettälä <[email protected]>
Cc Veli-Pekka Peltola <[email protected]>
---
 drivers/staging/csr/bh.c |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)
drivers/staging/csr/bh.c +8 -7
index 2b7c4c0..7a00aa8 100644
@@ -94,15 +94,16 @@ int uf_start_thread(unifi_priv_t *priv,
  */
 void uf_stop_thread(unifi_priv_t *priv, struct uf_thread *thread)
 {
-    if (!thread->thread_task) {
-        unifi_notice(priv, "%s thread is already stopped\n", thread->name);
-        return;
-    }
+	if (!thread->thread_task) {
+		unifi_notice(priv, "%s thread is already stopped\n",
+							thread->name);
+		return;
+	}
 
-    unifi_trace(priv, UDBG2, "Stopping %s thread\n", thread->name);
+	unifi_trace(priv, UDBG2, "Stopping %s thread\n", thread->name);
 
-    kthread_stop(thread->thread_task);
-    thread->thread_task = NULL;
+	kthread_stop(thread->thread_task);
+	thread->thread_task = NULL;
 
 } /* uf_stop_thread() */
 
Signature · 1 line
1.7.9.5