From: Jes Sorensen Date: Sun, 25 May 2014 20:43:18 +0000 (+0200) Subject: staging: rtl8723au: rtw_wdev_alloc(): Don't register wiphy before kmalloc() completed X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~224 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d165e4efbc6d76cff51abb523567a840cb6623b9;p=pandora-kernel.git staging: rtl8723au: rtw_wdev_alloc(): Don't register wiphy before kmalloc() completed There is no point starting to register the wiphy and then having to unregister it again if the followon kmalloc() fails. Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed