mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 17:03:47 -04:00
Staging: rtl8192u: ieee80211: ieee80211_module.c: fix style issue
Fixed a brace coding style issue, found via checkpatch. Signed-off-by: Riccardo Marotti <riccardo.marotti@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
e0f6aae87b
commit
7d4c9787b7
@@ -157,8 +157,7 @@ struct net_device *alloc_ieee80211(int sizeof_priv)
|
||||
ieee80211_softmac_init(ieee);
|
||||
|
||||
ieee->pHTInfo = kzalloc(sizeof(RT_HIGH_THROUGHPUT), GFP_KERNEL);
|
||||
if (ieee->pHTInfo == NULL)
|
||||
{
|
||||
if (ieee->pHTInfo == NULL) {
|
||||
IEEE80211_DEBUG(IEEE80211_DL_ERR, "can't alloc memory for HTInfo\n");
|
||||
goto failed;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user