All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Remove unnecessary braces
@ 2013-10-15 17:42 Evgeny Kapaev
  2013-10-16  4:32 ` Viresh Kumar
  0 siblings, 1 reply; 3+ messages in thread
From: Evgeny Kapaev @ 2013-10-15 17:42 UTC (permalink / raw)
  To: cpufreq; +Cc: rjw, viresh.kumar

As per coding style, braces {} are not necessary for single statement block

Signed-off-by: Evgeny Kapaev <orener300@gmail.com>
---
 drivers/cpufreq/speedstep-centrino.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/cpufreq/speedstep-centrino.c b/drivers/cpufreq/speedstep-centrino.c
index f897d51..98797a6 100644
--- a/drivers/cpufreq/speedstep-centrino.c
+++ b/drivers/cpufreq/speedstep-centrino.c
@@ -373,9 +373,8 @@ static int centrino_cpu_init(struct cpufreq_policy *policy)
 		return -ENODEV;
 	}
 
-	if (centrino_cpu_init_table(policy)) {
+	if (centrino_cpu_init_table(policy))
 		return -ENODEV;
-	}
 
 	/* Check to see if Enhanced SpeedStep is enabled, and try to
 	   enable it if not. */
-- 
1.8.1.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-16 22:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-15 17:42 [PATCH] Remove unnecessary braces Evgeny Kapaev
2013-10-16  4:32 ` Viresh Kumar
2013-10-16 22:34   ` Rafael J. Wysocki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.