From: Arend van Spriel Date: Fri, 2 Mar 2012 21:55:45 +0000 (+0100) Subject: brcm80211: fmac: remove unnecessary NULL pointer check X-Git-Tag: v3.4-rc1~177^2~108^2~159 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bc7e29c984ffda0b6133c2b34233023ff36f370;p=pandora-kernel.git brcm80211: fmac: remove unnecessary NULL pointer check In brcmf_usb_up() the variable devinfo was checked for being a NULL pointer, but this can not happen. Also the check was done after dereferencing the pointer. This patch removes the check. Reviewed-by: Pieter-Paul Giesberts Reviewed-by: Franky (Zhenhui) Lin Reviewed-by: Kan Yan Signed-off-by: Arend van Spriel Signed-off-by: John W. Linville --- Reading git-diff-tree failed