This patch series makes a cleanup of the vnt_get_frame_time function.
The first patch makes use of the define RATE_11M instead of a magic
number. The second patch remove unnecessary local variable initialization.
Changelog v1 -> v2
- Not use the ARRAY_SIZE macro to compare against the tx_rate variable.
Oscar Carter (2):
staging: vt6656: Use define instead of magic number for tx_rate
staging: vt6656: Remove unnecessary local variable initialization
drivers/staging/vt6656/baseband.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
--
2.20.1
On Tue, Apr 07, 2020 at 06:29:57PM +0200, Oscar Carter wrote:
> This patch series makes a cleanup of the vnt_get_frame_time function.
>
> The first patch makes use of the define RATE_11M instead of a magic
> number. The second patch remove unnecessary local variable initialization.
>
> Changelog v1 -> v2
> - Not use the ARRAY_SIZE macro to compare against the tx_rate variable.
>
> Oscar Carter (2):
> staging: vt6656: Use define instead of magic number for tx_rate
> staging: vt6656: Remove unnecessary local variable initialization
>
> drivers/staging/vt6656/baseband.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> --
> 2.20.1
>
Don't review this patch series as I have sent a new version. Sorry.
Thanks
Oscar Carter