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:
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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue