can: softing: softing_card_shutdown(): add braces around empty body in an 'if' statement
[linux-2.6-microblaze.git] / drivers / net / can / softing / softing_main.c
index 11b0f3b..9d2faaa 100644 (file)
@@ -447,8 +447,9 @@ static void softing_card_shutdown(struct softing *card)
 {
        int fw_up = 0;
 
-       if (mutex_lock_interruptible(&card->fw.lock))
+       if (mutex_lock_interruptible(&card->fw.lock)) {
                /* return -ERESTARTSYS */;
+       }
        fw_up = card->fw.up;
        card->fw.up = 0;