From: Arend van Spriel Date: Thu, 9 Jun 2011 14:44:58 +0000 (+0200) Subject: staging: brcm80211: remove checkpatch errors found in fullmac X-Git-Tag: v3.1-rc1~232^2~551 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7c551bc9f8ac1c73536043c19ea8160c8b3549c;p=pandora-kernel.git staging: brcm80211: remove checkpatch errors found in fullmac A checkpatch run was done over the complete source files to determine how much coding style issues there are in the driver. This patch fixes the checkpatch errors in fullmac driver brcmfmac listed below. ERROR: do not initialise globals to 0 or NULL +uint dhd_poll = false; -- ERROR: do not use assignment in if condition + if (!ifp && !(ifp = kmalloc(sizeof(dhd_if_t), GFP_ATOMIC))) { -- ERROR: do not use assignment in if condition + if (unlikely(!(wl_cfg80211_dev && \ -- ERROR: do not initialise statics to 0 or NULL + static bool iscan_pass_abort = false; -- Signed-off-by: Arend van Spriel Reviewed-by: Roland Vossen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed