ftrace: cleanups
authorIngo Molnar <mingo@elte.hu>
Mon, 12 May 2008 19:21:00 +0000 (21:21 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 23 May 2008 19:50:50 +0000 (21:50 +0200)
no code changed.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/trace/trace.c

index 627e39936ea75fff465b9b77630cf85e246c96e9..d6b60576f991e1c13a5504947873f43896bd9a2e 100644 (file)
@@ -1155,12 +1155,12 @@ lat_print_generic(struct trace_seq *s, struct trace_entry *entry, int cpu)
 
        hardirq = entry->flags & TRACE_FLAG_HARDIRQ;
        softirq = entry->flags & TRACE_FLAG_SOFTIRQ;
-       if (hardirq && softirq)
+       if (hardirq && softirq) {
                trace_seq_putc(s, 'H');
-       else {
-               if (hardirq)
+       else {
+               if (hardirq) {
                        trace_seq_putc(s, 'h');
-               else {
+               else {
                        if (softirq)
                                trace_seq_putc(s, 's');
                        else
@@ -2177,8 +2177,7 @@ tracing_poll_pipe(struct file *filp, poll_table *poll_table)
                 * Always select as readable when in blocking mode
                 */
                return POLLIN | POLLRDNORM;
-       }
-       else {
+       } else {
                if (!trace_empty(iter))
                        return POLLIN | POLLRDNORM;
                poll_wait(filp, &trace_wait, poll_table);