staging: wfx: logical continuations should be on the previous line
authorzhuo1angt@outlook.com <zhuo1angt@outlook.com>
Sat, 13 Feb 2021 21:40:54 +0000 (05:40 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Mar 2021 08:25:24 +0000 (09:25 +0100)
Move logical and operator to previous line to comply with
the standard kernel coding style.

Signed-off-by: Zhuoran He <zhuo1angt@outlook.com>
Link: https://lore.kernel.org/r/ME4P282MB080872A776B92CCC33A4B1EFF98A9@ME4P282MB0808.AUSP282.PROD.OUTLOOK.COM
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/hif_rx.c

index 56a5f89..9fca7f2 100644 (file)
@@ -391,9 +391,9 @@ void wfx_handle_rx(struct wfx_dev *wdev, struct sk_buff *skb)
        }
        // Note: mutex_is_lock cause an implicit memory barrier that protect
        // buf_send
-       if (mutex_is_locked(&wdev->hif_cmd.lock)
-           && wdev->hif_cmd.buf_send
-           && wdev->hif_cmd.buf_send->id == hif_id) {
+       if (mutex_is_locked(&wdev->hif_cmd.lock) &&
+           wdev->hif_cmd.buf_send &&
+           wdev->hif_cmd.buf_send->id == hif_id) {
                hif_generic_confirm(wdev, hif, hif->body);
                goto free;
        }