staging: rtl8192u: Remove unnecessary function
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Sat, 31 Oct 2015 14:55:29 +0000 (20:25 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
commitd2071984b917784f74ab32c4f054e3503bc730e5
tree53a9b838a31a16fb4ff17acdf320d0966360c710
parentc14291d2c3041237c2e26939d26fb67bb689bcc2
staging: rtl8192u: Remove unnecessary function

This patch solves two problems.
The function rtl8192_CalculateBitShift() had an unnecessary variable i
that could be removed by using a single line of code.

After this change, rtl8192_CalculateBitShift() becomes a wrapper
function, so the rtl8192_CalculateBitShift() function has been removed
completely to replace it with a single line of code.

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r819xU_phy.c
This page took 0.026751 seconds and 5 git commands to generate.