[media] drx-d: add missing braces in drxd_hard.c:DRXD_init
authorDave Jones <davej@redhat.com>
Thu, 5 Sep 2013 02:51:48 +0000 (23:51 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 11 Mar 2014 09:56:48 +0000 (06:56 -0300)
No functional changes, but removes a duplicate check, if
!state->type_A.

Signed-off-by: Dave Jones <davej@fedoraproject.org>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/drxd_hard.c

index 959ae36403b827263d6b028f919f2fe9fe2fa224..5b87ece69414fcdbfbc1bb967931e87d47fd13b8 100644 (file)
@@ -2688,11 +2688,11 @@ static int DRXD_init(struct drxd_state *state, const u8 *fw, u32 fw_size)
                status = EnableAndResetMB(state);
                if (status < 0)
                        break;
-               if (state->type_A)
+               if (state->type_A) {
                        status = ResetCEFR(state);
                        if (status < 0)
                                break;
-
+               }
                if (fw) {
                        status = DownloadMicrocode(state, fw, fw_size);
                        if (status < 0)