Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4246e490 authored by Adrian Remonda's avatar Adrian Remonda Committed by Greg Kroah-Hartman
Browse files

Staging: rtl8188eu: Removed unneeded code.



This patch removes some unneeded code.
1) kzalloc() allocates 4 extra bytes so that we can align the return
   value.  But actually the return value is already aligned so we can
   remove the + 4 and the call to N_BYTE_ALIGMENT().
2) The memset() isn't needed because kzalloc() zeroes the allocation.

Suggested-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>

Signed-off-by: default avatarAdrian Remonda <adrianremonda@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 66ed681a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment