Skip to content
Commit 759411a0 authored by John B. Wyatt IV's avatar John B. Wyatt IV Committed by Greg Kroah-Hartman
Browse files

staging: wlan-ng: Fix third argument going over 80 characters



Create a new 'status' variable to store the value of a long argument
that goes over 80 characters. The status variable is also used for
an if check. Replacing that long statement in both places makes the
code much easier to read.

Note: the status variable is assigned after a needed byte order
conversion for usbin->rxfrm.desc.status, which uses a reference.

Issue reported by checkpatch.

Suggested-by: default avatarStefano Brivio <sbrivio@redhat.com>
Signed-off-by: default avatarJohn B. Wyatt IV <jbwyatt4@gmail.com>
Reviewed-by: default avatarStefano Brivio <sbrivio@redhat.com>
Link: https://lore.kernel.org/r/20200321225808.2494564-1-jbwyatt4@gmail.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1c31a130
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment