diff options
| author | Adrian Remonda <adrianremonda@gmail.com> | 2014-08-10 20:39:57 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-16 12:23:23 -0700 |
| commit | 4246e490b59bf68839f75fa4354e099105ff927a (patch) | |
| tree | 4a1609b096e2c4ae680d2b47fcf236c10fa8b176 /include/linux | |
| parent | 66ed681a304f2971f85b9d8c58d4c35f340e1af1 (diff) | |
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: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Adrian Remonda <adrianremonda@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
