From: Gerrit Renker Date: Wed, 26 Sep 2007 14:24:28 +0000 (-0300) Subject: [CCID3]: Move NULL-protection into function X-Git-Tag: v2.6.24-rc1~1454^2~354 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e86908f7dfb71b67ca4739d9a6c678b83b01078;p=pandora-kernel.git [CCID3]: Move NULL-protection into function This moves several instances of testing against NULL into the function which is used to de-reference the CCID-private data. Committer note: Made the BUG_ON depend on having CONFIG_IP_DCCP_CCID3_DEBUG, as it is too much to have this on production code. Also made sure that the macro is used only after checking if sk_state is not LISTEN, to make it equivalent to what we had before. Signed-off-by: Gerrit Renker Signed-off-by: Ian McDonald Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed