staging: r8188eu: mark is_basicrate as bool

Mark is_basicrate as bool as it returns true/false.

Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Vihas Makwana <makvihas@gmail.com>
Link: https://lore.kernel.org/r/20220302204737.49056-11-makvihas@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Vihas Makwana 2022-03-03 02:17:31 +05:30 committed by Greg Kroah-Hartman
parent 2a603c8fac
commit 7167068ac6

View File

@ -167,7 +167,7 @@ static unsigned char ratetbl_val_2wifirate(unsigned char rate)
return val;
}
static int is_basicrate(struct adapter *padapter, unsigned char rate)
static bool is_basicrate(struct adapter *padapter, unsigned char rate)
{
int i;
unsigned char val;