diff options
| author | Michael Straube <[email protected]> | 2022-03-29 12:37:55 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-04-04 07:33:47 +0200 |
| commit | b2bfb60c083c5addd7daf5d2817ce4e09ffaf625 (patch) | |
| tree | abf1d165b2f3062cb3693bb0ef51ee032eda2eed | |
| parent | 0166ffdc89bf4d5f50852eb4bc86bbd18cffd4f9 (diff) | |
staging: r8188eu: convert rtw_usb_bulk_size_boundary() to bool
Function rtw_usb_bulk_size_boundary() returns boolean values.
Change its return type from u8 to bool.
Signed-off-by: Michael Straube <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
| -rw-r--r-- | drivers/staging/r8188eu/include/usb_ops.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/r8188eu/include/usb_ops.h b/drivers/staging/r8188eu/include/usb_ops.h index cfcf6f84d2cf..5ee1c8c7940d 100644 --- a/drivers/staging/r8188eu/include/usb_ops.h +++ b/drivers/staging/r8188eu/include/usb_ops.h @@ -46,7 +46,7 @@ static inline void rtw_reset_continual_urb_error(struct dvobj_priv *dvobj) #define USB_HIGH_SPEED_BULK_SIZE 512 #define USB_FULL_SPEED_BULK_SIZE 64 -static inline u8 rtw_usb_bulk_size_boundary(struct adapter *padapter, int buf_len) +static inline bool rtw_usb_bulk_size_boundary(struct adapter *padapter, int buf_len) { struct dvobj_priv *pdvobjpriv = adapter_to_dvobj(padapter); |