[PATCH 6/7] staging:speakup:thread.c style fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



fix issues reported by checkpatch.pl

Signed-off-by: William Hubbs <w.d.hubbs@xxxxxxxxx>
---
 drivers/staging/speakup/thread.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/speakup/thread.c b/drivers/staging/speakup/thread.c
index 84531e7..103c5c8 100644
--- a/drivers/staging/speakup/thread.c
+++ b/drivers/staging/speakup/thread.c
@@ -21,11 +21,12 @@ int speakup_thread(void *data)
 	mutex_lock(&spk_mutex);
 	while (1) {
 		DEFINE_WAIT(wait);
-		while(1) {
+		while (1) {
 			spk_lock(flags);
 			our_sound = unprocessed_sound;
 			unprocessed_sound.active = 0;
-			prepare_to_wait(&speakup_event, &wait, TASK_INTERRUPTIBLE);
+			prepare_to_wait(&speakup_event, &wait,
+				TASK_INTERRUPTIBLE);
 			should_break = kthread_should_stop() ||
 				our_sound.active ||
 				(synth && synth->catch_up && synth->alive &&
@@ -42,9 +43,8 @@ int speakup_thread(void *data)
 		if (kthread_should_stop())
 			break;
 
-		if (our_sound.active) {
+		if (our_sound.active)
 			kd_mksound(our_sound.freq, our_sound.jiffies);
-		}
 		if (synth && synth->catch_up && synth->alive) {
 			/* It is up to the callee to take the lock, so that it
 			 * can sleep whenever it likes */
-- 
1.7.2.2

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux