staging: r8188eu: convert only rtw_vmalloc call to vmalloc
authorPhillip Potter <phil@philpotter.co.uk>
Wed, 18 Aug 2021 23:48:47 +0000 (00:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Aug 2021 05:42:56 +0000 (07:42 +0200)
commit5349ef4fd59f787feadc44629d4ecf6cad42e312
tree9ab7f01aff6d2297955ee9023e2051ecff9a1d1e
parentb1d0ebf2ed849635e155cc97ea024659c4b21f1a
staging: r8188eu: convert only rtw_vmalloc call to vmalloc

Convert the only call to rtw_vmalloc in os_dep/ioctl_linux.c to the
kernel's existing vmalloc function, as rtw_malloc is just a preprocessor
definition for _rtw_vmalloc. The _rtw_vmalloc function is defined inline
and returns a u8, wrapping standard vmalloc. This behaviour is not necessary.

Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
Link: https://lore.kernel.org/r/20210818234853.208448-2-phil@philpotter.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/os_dep/ioctl_linux.c