[media] m920x: Fix CodingStyle issues
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 27 Dec 2012 18:32:58 +0000 (16:32 -0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 27 Dec 2012 18:32:58 +0000 (16:32 -0200)
Fix CodingStyle issues introduced by the last patch

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/dvb-usb/m920x.c

index bddd7637fdaa6d01a68783b0daf7d4815ff79cc8..a70c5eaf0600be1d208259e41e2e3a879d9eebd0 100644 (file)
@@ -191,10 +191,14 @@ static int m920x_rc_query(struct dvb_usb_device *d, u32 *event, int *state)
        if (!rc_state)
                return -ENOMEM;
 
-       if ((ret = m920x_read(d->udev, M9206_CORE, 0x0, M9206_RC_STATE, rc_state, 1)) != 0)
+       ret = m920x_read(d->udev, M9206_CORE, 0x0, M9206_RC_STATE,
+                        rc_state, 1);
+       if (ret != 0)
                goto out;
 
-       if ((ret = m920x_read(d->udev, M9206_CORE, 0x0, M9206_RC_KEY, rc_state + 1, 1)) != 0)
+       ret = m920x_read(d->udev, M9206_CORE, 0x0, M9206_RC_KEY,
+                        rc_state + 1, 1);
+       if (ret != 0)
                goto out;
 
        m920x_parse_rc_state(d, rc_state[0], state);