]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
staging: rtl8188eu: remove implicit bool->int conversions
authorAishwarya Pant <aishpant@gmail.com>
Fri, 22 Sep 2017 11:14:03 +0000 (16:44 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Sep 2017 13:31:49 +0000 (15:31 +0200)
commitda9551c28c6f82795a3805f75a69d048936496df
treeb4430e66ef6437aeb17680b8d1ba1d5440ca8064
parent2169ea9b391a1200ff615c1eeeda83bb7290b5dd
staging: rtl8188eu: remove implicit bool->int conversions

Implicit type conversions are bad; they hinder readability of code and have
potential to cause bugs. Here the variable wait_ack is always supplied a bool
value while in function declarations it is defined as an int type. Fix it by
defining wait_ack a bool type in all usages.

Signed-off-by: Aishwarya Pant <aishpant@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c