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:
parent
79ebad324b
commit
e54a823e90
@ -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;
|
int i;
|
||||||
unsigned char val;
|
unsigned char val;
|
||||||
|
Loading…
Reference in New Issue
Block a user