staging: rtl8188eu: change return type of is_basicrate() to bool

The function is_basicrate() returns true or false, so change the
return type from int to bool.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Michael Straube 2018-12-18 19:34:49 +01:00 committed by Greg Kroah-Hartman
parent 79ebad324b
commit e54a823e90
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ static unsigned char ratetbl_val_2wifirate(unsigned char rate)
}
}
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;