From: Adrian Remonda Date: Sun, 10 Aug 2014 18:39:57 +0000 (+0200) Subject: Staging: rtl8188eu: Removed unneeded code. X-Git-Tag: fixes-for-v3.18-merge-window~15^2~1239 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4246e490b59bf68839f75fa4354e099105ff927a;p=pandora-kernel.git 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 Signed-off-by: Adrian Remonda Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed