From: Johannes Berg Date: Wed, 8 Jan 2014 12:16:33 +0000 (+0100) Subject: iwlwifi: add inline helper for packet lengths X-Git-Tag: v3.14-rc1~94^2~113^2^2~18^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65b30348dbf9b529901b5c2b62dca6cad9017a2a;p=pandora-kernel.git iwlwifi: add inline helper for packet lengths Add an inline helper function for getting an RX packet's length or payload length and use it throughout the code (most of which I did using an spatch.) While at it, adjust some code, and remove a bogus comment from the dvm calibration code. Signed-off-by: Johannes Berg Reviewed-by: Eran Harary Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed