Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: wfx: simplify variable assignment

Attribute "aborted" and argument "aborted" are both booleans.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20191217161318.31402-20-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Jérôme Pouiller and committed by
Greg Kroah-Hartman
faffec88 1380b939

+1 -1
+1 -1
drivers/staging/wfx/scan.c
··· 16 16 bool aborted) 17 17 { 18 18 struct cfg80211_scan_info info = { 19 - .aborted = aborted ? 1 : 0, 19 + .aborted = aborted, 20 20 }; 21 21 22 22 ieee80211_scan_completed(hw, &info);