[PATCH] staging: rtl8192u: r8192U_core.c: Cleaning up unclear and confusing code

Rickard Strandqvist rickard_strandqvist at spectrumdigital.se
Sun Jun 15 15:14:05 UTC 2014


Removes confusing and unclear code. 
Using memcpy to set a pointer, what is the point?
The use of &= instead of & fills no benefit in this case.
None of these is a direct error, but I think you should replace the confusing code.

Rickard Strandqvist (1):
  staging: rtl8192u: r8192U_core.c:  Cleaning up unclear and confusing code

 drivers/staging/rtl8192u/r8192U_core.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

-- 
1.7.10.4



More information about the devel mailing list